mm: NUMA aware alloc_thread_info_node()
commitb6a84016bd2598e35ead635147fa53619982648d
authorEric Dumazet <eric.dumazet@gmail.com>
Tue, 22 Mar 2011 23:30:42 +0000 (22 16:30 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Mar 2011 00:44:01 +0000 (22 17:44 -0700)
treea73dc0ef4e353723bf123898f0fc143e587c16d8
parent504f52b5439aaf26d3e2c1d45ec10fce38c8dd27
mm: NUMA aware alloc_thread_info_node()

Add a node parameter to alloc_thread_info(), and change its name to
alloc_thread_info_node()

This change is needed to allow NUMA aware kthread_create_on_cpu()

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Tejun Heo <tj@kernel.org>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: David Howells <dhowells@redhat.com>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
19 files changed:
arch/cris/include/asm/thread_info.h
arch/frv/include/asm/thread_info.h
arch/ia64/include/asm/thread_info.h
arch/m32r/include/asm/thread_info.h
arch/mips/include/asm/thread_info.h
arch/mn10300/include/asm/thread_info.h
arch/powerpc/include/asm/thread_info.h
arch/powerpc/kernel/process.c
arch/score/include/asm/thread_info.h
arch/sh/include/asm/thread_info.h
arch/sh/kernel/process.c
arch/sparc/include/asm/thread_info_32.h
arch/sparc/include/asm/thread_info_64.h
arch/sparc/mm/srmmu.c
arch/sparc/mm/sun4c.c
arch/tile/include/asm/thread_info.h
arch/tile/kernel/process.c
arch/x86/include/asm/thread_info.h
kernel/fork.c