kernel_optimize_test/arch/frv/kernel
Eric Dumazet 504f52b543 mm: NUMA aware alloc_task_struct_node()
All kthreads being created from a single helper task, they all use memory
from a single node for their kernel stack and task struct.

This patch suite creates kthread_create_on_cpu(), adding a 'cpu' parameter
to parameters already used by kthread_create().

This parameter serves in allocating memory for the new kthread on its
memory node if available.

Users of this new function are : ksoftirqd, kworker, migration, pktgend...

This patch:

Add a node parameter to alloc_task_struct(), and change its name to
alloc_task_struct_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>
2011-03-22 17:44:01 -07:00
..
asm-offsets.c
break.S
cmode.S
debug-stub.c
dma.c
entry-table.S
entry.S
frv_ksyms.c
futex.c
gdb-io.c
gdb-io.h
gdb-stub.c
head-mmu-fr451.S
head-uc-fr401.S
head-uc-fr451.S
head-uc-fr555.S
head.inc
head.S
init_task.c
irq-mb93091.c
irq-mb93093.c
irq-mb93493.c
irq.c
kernel_execve.S
kernel_thread.S
local.h
local64.h
Makefile
module.c
pm-mb93093.c
pm.c
process.c mm: NUMA aware alloc_task_struct_node() 2011-03-22 17:44:01 -07:00
ptrace.c
setup.c
signal.c
sleep.S
switch_to.S
sys_frv.c
sysctl.c
time.c
traps.c
uaccess.c
vmlinux.lds.S