User: Password:
Subscribe / Log in / New account

The SLEB allocator

The SLEB allocator

Posted May 20, 2010 12:22 UTC (Thu) by bcopeland (✭ supporter ✭, #51750)
Parent article: The SLEB allocator

This is not a new idea, but it would be interesting if the allocators could also take into account the locality of the user in addition to that of the allocator.

For example, if you are allocating nodes in a linked list, you might give a hint to the allocator to give me an object from a slab where the object is spatially close to "this" one -- even if there is not a lot of temporal locality between the allocations. That could be a win on large, long-lived lists and trees.

(Log in to post comments)

Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds