Messages in this thread | | | Date | Fri, 23 Jan 2009 10:59:17 -0500 (EST) | From | Christoph Lameter <> | Subject | Re: [PATCH] SLUB: revert direct page allocator pass through |
| |
On Sat, 24 Jan 2009, Nick Piggin wrote:
> Page allocator is never going to be as fast as slab allocator, for > issues I explained a long time ago. Not to say it can't be improved, > just stating facts.
Why not? Remember the discussion we had a while ago. You can bring the pages into a state where minimal manipulations are required for alloc free and avoid all the checks in the hot paths. The SLUB method could be used taking a big contiguous chunk and then issueing page size portions of it. That could be quite fast.
Or if you prefer order-0. Do a single linked list like SLQB does.
| |