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.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds