--- mm/slub.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) Index: slub/mm/slub.c =================================================================== --- slub.orig/mm/slub.c 2007-05-14 21:33:48.000000000 -0700 +++ slub/mm/slub.c 2007-05-14 21:35:40.000000000 -0700 @@ -1996,8 +1996,6 @@ static int kmem_cache_open(struct kmem_c #ifdef CONFIG_NUMA s->defrag_ratio = 100; #endif - raise_kswapd_order(s->order); - if (init_kmem_cache_nodes(s, gfpflags & ~SLUB_DMA)) return 1; error: @@ -2560,6 +2558,7 @@ struct kmem_cache *kmem_cache_create(con goto err; } list_add(&s->list, &slab_caches); + raise_kswapd_order(s->order); } else kfree(s); }