[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4600DD13.80305@cosmosbay.com>
Date: Wed, 21 Mar 2007 08:21:55 +0100
From: Eric Dumazet <dada1@...mosbay.com>
To: Andrew Morton <akpm@...ux-foundation.org>
CC: Christoph Lameter <christoph@...eter.com>,
Andi Kleen <andi@...stfloor.org>,
linux kernel <linux-kernel@...r.kernel.org>
Subject: [PATCH] SLAB : Dont allocate empty shared caches
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 <dada1@...mosbay.com>
View attachment "dont_allocate_empty_arraycache.patch" of type "text/plain" (1613 bytes)
Powered by blists - more mailing lists