Re: [PATCH] slub: init_kmem_cache_cpus() and put_cpu_partial() canbe static

From: Christoph Lameter
Date: Wed Oct 03 2012 - 10:18:25 EST


On Tue, 2 Oct 2012, David Rientjes wrote:

> On Fri, 28 Sep 2012, Fengguang Wu wrote:
>
> > Acked-by: Glauber Costa <glommer@xxxxxxxxxxxxx>
> > Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
>
> Acked-by: David Rientjes <rientjes@xxxxxxxxxx>
>
> I think init_kmem_cache_cpus() would also benefit from just being inlined
> into alloc_kmem_cache_cpus().

The compiler will do that if it is advantageous.

--
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/