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

Luck, Tony (tony.luck@intel.com)
Tue, 30 Jul 2002 09:20:05 -0700


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/