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

2012-10-03 Thread David Rientjes
On Wed, 3 Oct 2012, Christoph Lameter wrote: > > > Acked-by: Glauber Costa > > > Signed-off-by: Fengguang Wu > > > > Acked-by: David Rientjes > > > > 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

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

2012-10-03 Thread Christoph Lameter
On Tue, 2 Oct 2012, David Rientjes wrote: > On Fri, 28 Sep 2012, Fengguang Wu wrote: > > > Acked-by: Glauber Costa > > Signed-off-by: Fengguang Wu > > Acked-by: David Rientjes > > I think init_kmem_cache_cpus() would also benefit from just being inlined > into alloc_kmem_cache_cpus(). The comp

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

2012-10-02 Thread David Rientjes
On Fri, 28 Sep 2012, Fengguang Wu wrote: > Acked-by: Glauber Costa > Signed-off-by: Fengguang Wu Acked-by: David Rientjes I think init_kmem_cache_cpus() would also benefit from just being inlined into alloc_kmem_cache_cpus(). -- To unsubscribe from this list: send the line "unsubscribe linux-

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

2012-09-28 Thread Christoph Lameter
On Fri, 28 Sep 2012, Fengguang Wu wrote: > Acked-by: Glauber Costa > Signed-off-by: Fengguang Wu Acked-by: Christoph Lameter -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kern

[PATCH] slub: init_kmem_cache_cpus() and put_cpu_partial() can be static

2012-09-28 Thread Fengguang Wu
Acked-by: Glauber Costa Signed-off-by: Fengguang Wu --- mm/slub.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- linux.orig/mm/slub.c2012-09-24 10:22:11.0 +0800 +++ linux/mm/slub.c 2012-09-28 16:31:31.987092387 +0800 @@ -1709,7 +1709,7 @@ static inline void