zee_alloc icon indicating copy to clipboard operation
zee_alloc copied to clipboard

Experiment with slabs

Open fengb opened this issue 4 years ago • 1 comments

Buddy allocation is generally pretty efficient but suffers from internal fragmentation. Can slab allocation have similar code efficiency?

image

fengb avatar May 19 '20 19:05 fengb

Another idea: what if the current metadata remains the same, and the only difference is that each page is a slab? This might be a good hybrid to reap the benefit of slabs (consistent fragmentation, generally more cache friendly) without worse downsides.

fengb avatar Jun 08 '20 20:06 fengb