RE: [Lse-tech] [RFC] per cpu slab fix to reduce freemiss

Luck, Tony
2002-07-30T16:16:57Z

Mala Anand wrote:
> >Are you going to have some external structure to maintain the linked
> >list? Or secretly enlarge the object to provide space for the link,
> >or some other way?
> No I am using the object(beginning space) to store the links. When
> allocated, I can initialize the space occupied by the link address.

You can't use the start of the object (or any other part) in this way,
you'll have no way to restore the value you overwrote.

Take a look at Jeff Bonwick's paper on slab allocators which explains
this a lot better than I can:

http://www.usenix.org/publications/library/proceedings/bos94/full_papers/bon
wick.a

-Tony