Re: non-NUMA cache_free_alien() (was Re: [RFC] SLAB : NUMAcache_free_alien() very expensive because of virt_to_slab(objp); nodeid =slabp->nodeid;)

From: Christoph Lameter
Date: Thu Mar 22 2007 - 18:11:27 EST


On Thu, 22 Mar 2007, Siddha, Suresh B wrote:

> @@ -1394,6 +1394,9 @@ void __init kmem_cache_init(void)
> int order;
> int node;
>
> + if (num_online_nodes() == 1)
> + use_alien_caches = 0;
> +

What happens if you bring up a second node?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/