kernel_optimize_test/arch/cris/arch-v32/kernel
Manfred Spraul e545a6140b kernel/cpu.c: create a CPU_STARTING cpu_chain notifier
Right now, there is no notifier that is called on a new cpu, before the new
cpu begins processing interrupts/softirqs.
Various kernel function would need that notification, e.g. kvm works around
by calling smp_call_function_single(), rcu polls cpu_online_map.

The patch adds a CPU_STARTING notification. It also adds a helper function
that sends the message to all cpu_chain handlers.

Tested on x86-64.
All other archs are untested. Especially on sparc, I'm not sure if I got
it right.

Signed-off-by: Manfred Spraul <manfred@colorfullife.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-09-08 19:25:24 +02:00
..
asm-offsets.c [PATCH] CRIS update: new subarchitecture v32 2005-07-27 16:26:01 -07:00
cache.c CRISv32: add cache flush operations 2007-11-14 18:45:47 -08:00
cacheflush.S CRISv32: add cache flush operations 2007-11-14 18:45:47 -08:00
crisksyms.c CRIS v32: Update kernel/crisksyms.c 2008-02-08 11:06:34 +01:00
debugport.c CRIS v32: Update debugport. 2008-02-08 11:06:27 +01:00
entry.S CRIS: Add new timerfd syscall entries. 2008-02-08 11:54:30 +01:00
fasttimer.c removed unused #include <linux/version.h>'s 2008-08-23 12:14:12 -07:00
head.S CRIS v32: Initialize GIO even if we're rambooting in kernel/head.S 2008-02-08 11:06:39 +01:00
irq.c CRIS v32: Update and simplify kernel/irq.c. 2008-02-08 11:06:27 +01:00
kgdb_asm.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
kgdb.c cris: use the common ascii hex helpers 2008-07-26 12:00:05 -07:00
Makefile CRIS v32: Fixup kernel Makefile. 2008-02-08 11:06:25 +01:00
pinmux.c [PATCH] CRIS update: new subarchitecture v32 2005-07-27 16:26:01 -07:00
process.c CRIS v32: Minor updates to kernel/process.c 2008-02-08 11:06:27 +01:00
ptrace.c CRIS v32: Whitespace and formatting changes for kernel/ptrace.c 2008-02-08 11:06:24 +01:00
setup.c cris: ARRAY_SIZE() cleanup 2007-11-14 18:45:46 -08:00
signal.c CRIS v32: Update signal handling in kernel/signal.c 2008-02-08 11:06:35 +01:00
smp.c kernel/cpu.c: create a CPU_STARTING cpu_chain notifier 2008-09-08 19:25:24 +02:00
time.c CRIS v32: Update and improve kernel/time.c 2008-02-08 11:06:28 +01:00
traps.c CRIS v32: Update and improve kernel/traps.c 2008-02-08 11:06:27 +01:00