linux/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 futex: Sanitize futex ops argument types 2011-03-11 12:23:31 +01:00
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
local64.h
local.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 ptrace: cleanup arch_ptrace() on frv 2010-10-27 18:03:10 -07:00
setup.c
signal.c
sleep.S
switch_to.S
sys_frv.c
sysctl.c
time.c frv: Switch do_timer() to xtime_update() 2011-01-31 14:55:45 +01:00
traps.c
uaccess.c
vmlinux.lds.S percpu: align percpu readmostly subsection to cacheline 2011-01-25 14:26:50 +01:00