diff options
author | Richard Braun <rbraun@sceen.net> | 2013-05-16 00:04:31 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2013-05-16 00:15:59 +0200 |
commit | c4d56664a22f0c46ec0e81b856860964ea89f420 (patch) | |
tree | b531b90896a65b05ad2d35f5b88306a20e6123b2 /=announce-1.3 | |
parent | 2840e10b3294607268dde98ed247c4badd6735b2 (diff) |
Reduce fragmentation in the slab allocator
This reverts a change brought when reworking slab lists handling that made
the allocator store slabs in LIFO order, whatever their reference count.
While it's fine for free slabs, it actually increased fragmentation for
partial slabs.
* kern/slab.c (kmem_cache_alloc_from_slab): Insert slabs that become partial
at the end of the partial slabs list.
Diffstat (limited to '=announce-1.3')
0 files changed, 0 insertions, 0 deletions