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

From: Luck, Tony (tony.luck@intel.com)
Date: Tue Jul 30 2002 - 11:20:05 EST


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/



This archive was generated by hypermail 2b29 : Tue Jul 30 2002 - 14:00:37 EST