Re: [PATCH] SLAB : Dont allocate empty shared caches

2007-03-21 Thread Pekka Enberg
On 3/21/07, Eric Dumazet <[EMAIL PROTECTED]> wrote: We can avoid allocating empty shared caches and avoid unecessary check of cache->limit. We save some memory. We avoid bringing into CPU cache unecessary cache lines. All accesses to l3->shared are already checking NULL pointers so this patch is

[PATCH] SLAB : Dont allocate empty shared caches

2007-03-20 Thread Eric Dumazet
We can avoid allocating empty shared caches and avoid unecessary check of cache->limit. We save some memory. We avoid bringing into CPU cache unecessary cache lines. All accesses to l3->shared are already checking NULL pointers so this patch is safe. Signed-off-by: Eric Dumazet <[EMAIL PROTE