![]() | |||||||||||||
Messages in this thread Patch in this message |
From: Pekka Enberg <penberg@cs.helsinki.fi> The cache_cache object cache is used for bootstrapping, but the cache is essentially static. It is unlikely that we ever have more than one page allocated for it. As SLAB_NO_REAP is gone now, fix a regression by skipping cache_cache explicitly in cache_reap(). Boot-tested with UML. Cc: Christoph Lameter <clameter@sgi.com> Cc: Alok Kataria <alok.kataria@calsoftinc.com> Cc: Ravikiran G Thirumalai <kiran@scalex86.org> Cc: Manfred Spraul <manfred@colorfullife.com> Cc: Mark Fasheh <mark.fasheh@oracle.com> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> --- mm/slab.c | 4 ++++ 1 file changed, 4 insertions(+) Index: 2.6-git/mm/slab.c =================================================================== --- 2.6-git.orig/mm/slab.c +++ 2.6-git/mm/slab.c @@ -3483,6 +3483,10 @@ static void cache_reap(void *unused) struct slab *slabp; searchp = list_entry(walk, struct kmem_cache, next); + + if (searchp == &cache_cache) + goto next; + check_irq_on(); l3 = searchp->nodelists[numa_node_id()]; - 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/ | ||||||||||||
| Last update: 2006-02-24 07:55 [from the cache] ©2003-2008 | |||||||||||||