Re: [RFC] Cleanup slab headers / API to allow easy addition of new slab allocators

2006-12-09 Thread Christoph Lameter
On Sat, 9 Dec 2006, Pekka Enberg wrote: > Hi Christoph, > > On 12/8/06, Christoph Lameter <[EMAIL PROTECTED]> wrote: > > +#defineSLAB_POISON 0x0800UL/* DEBUG: Poison > > objects */ > > +#defineSLAB_HWCACHE_ALIGN 0x2000UL/* Align objs on > > cache

Re: [RFC] Cleanup slab headers / API to allow easy addition of new slab allocators

2006-12-09 Thread Pekka Enberg
Hi Christoph, On 12/8/06, Christoph Lameter <[EMAIL PROTECTED]> wrote: +#defineSLAB_POISON 0x0800UL/* DEBUG: Poison objects */ +#defineSLAB_HWCACHE_ALIGN 0x2000UL/* Align objs on cache lines */ +#define SLAB_CACHE_DMA 0x4000UL/*

Re: [RFC] Cleanup slab headers / API to allow easy addition of new slab allocators

2006-12-09 Thread Pekka Enberg
Hi Christoph, On 12/8/06, Christoph Lameter [EMAIL PROTECTED] wrote: +#defineSLAB_POISON 0x0800UL/* DEBUG: Poison objects */ +#defineSLAB_HWCACHE_ALIGN 0x2000UL/* Align objs on cache lines */ +#define SLAB_CACHE_DMA 0x4000UL/*

Re: [RFC] Cleanup slab headers / API to allow easy addition of new slab allocators

2006-12-09 Thread Christoph Lameter
On Sat, 9 Dec 2006, Pekka Enberg wrote: Hi Christoph, On 12/8/06, Christoph Lameter [EMAIL PROTECTED] wrote: +#defineSLAB_POISON 0x0800UL/* DEBUG: Poison objects */ +#defineSLAB_HWCACHE_ALIGN 0x2000UL/* Align objs on cache lines */

[RFC] Cleanup slab headers / API to allow easy addition of new slab allocators

2006-12-08 Thread Christoph Lameter
This is a response to an earlier discussion on linux-mm about splitting slab.h components per allocator. Patch is against 2.6.19-git11. See http://marc.theaimsgroup.com/?l=linux-mm=116469577431008=2 This patch cleans up the slab header definitions. We define the common functions of slob and

[RFC] Cleanup slab headers / API to allow easy addition of new slab allocators

2006-12-08 Thread Christoph Lameter
This is a response to an earlier discussion on linux-mm about splitting slab.h components per allocator. Patch is against 2.6.19-git11. See http://marc.theaimsgroup.com/?l=linux-mmm=116469577431008w=2 This patch cleans up the slab header definitions. We define the common functions of slob and