On Thu, 2008-07-24 at 16:32 +0300, Pekka Enberg wrote:
On the other hand, I can imagine useful allocator changes where this
would not be a constant of requested size. For instance, imagine we had
a classless bucket allocator, but with a heuristic to try a larger
bucket when it wasn't cheap/possible to allocate a right-sized object
(because of memory pressure, etc.) and larger ones were available.
This sort of thing is a pretty small change for SLAB/SLUB.
--
Mathematics is the supreme nostalgia of our time.
--