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 Rename special text sections in arch/frv from .text.XXX to .text..XXX. 2010-03-03 11:26:01 +01:00
cmode.S Fix various old email addresses for dwmw2 2008-06-06 11:29:10 -07:00
debug-stub.c misc: remove redundant start_kernel prototypes 2009-09-23 10:05:22 -07:00
dma.c
entry-table.S
entry.S Rename special text sections in arch/frv from .text.XXX to .text..XXX. 2010-03-03 11:26:01 +01:00
frv_ksyms.c FRV: Implement atomic64_t 2009-07-01 19:38:09 -07:00
futex.c futex: Sanitize futex ops argument types 2011-03-11 12:23:31 +01:00
gdb-io.c frv: extend gdbstub to support more features of gdb 2010-05-25 08:07:02 -07:00
gdb-io.h
gdb-stub.c FRV: Reinstate null behaviour for the GDB remote protocol 'p' command 2010-06-09 12:42:44 -07:00
head-mmu-fr451.S FRV: Use __INIT macro instead of .text.init. 2009-04-27 19:46:30 -07:00
head-uc-fr401.S FRV: Use __INIT macro instead of .text.init. 2009-04-27 19:46:30 -07:00
head-uc-fr451.S FRV: Use __INIT macro instead of .text.init. 2009-04-27 19:46:30 -07:00
head-uc-fr555.S FRV: Use __INIT macro instead of .text.init. 2009-04-27 19:46:30 -07:00
head.inc
head.S Rename special text sections in arch/frv from .text.XXX to .text..XXX. 2010-03-03 11:26:01 +01:00
init_task.c Use new __init_task_data macro in arch init_task.c files. 2009-09-21 06:27:08 +02:00
irq-mb93091.c cpumask: remove references to struct irqaction's mask field. 2009-03-30 22:05:14 +10:30
irq-mb93093.c cpumask: remove references to struct irqaction's mask field. 2009-03-30 22:05:14 +10:30
irq-mb93493.c cpumask: remove references to struct irqaction's mask field. 2009-03-30 22:05:14 +10:30
irq.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
kernel_execve.S
kernel_thread.S
local.h
local64.h arch: Implement local64_t 2010-06-09 11:12:36 +02:00
Makefile
module.c module: cleanup FIXME comments about trimming exception table entries. 2009-06-12 21:47:05 +09:30
pm-mb93093.c
pm.c sysctl: Drop & in front of every proc_handler. 2009-11-18 08:37:40 -08:00
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 kbuild: move utsrelease.h to include/generated 2009-12-12 13:08:15 +01:00
signal.c frv: double syscall restarts, syscall restart in sigreturn() 2010-09-20 10:44:38 -07:00
sleep.S Fix various old email addresses for dwmw2 2008-06-06 11:29:10 -07:00
switch_to.S
sys_frv.c Add generic sys_ipc wrapper 2010-03-12 15:52:32 -08:00
sysctl.c frv: remove "struct file *" argument from sysctl ->proc_handler 2010-05-27 09:12:56 -07:00
time.c frv: Switch do_timer() to xtime_update() 2011-01-31 14:55:45 +01:00
traps.c
uaccess.c FRV: BUG to BUG_ON changes 2009-06-11 09:01:26 -07:00
vmlinux.lds.S percpu: align percpu readmostly subsection to cacheline 2011-01-25 14:26:50 +01:00