original_kernel/arch/um/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
..
skas uml: fix mm_context memory leak 2008-02-08 09:22:43 -08:00
Makefile
asm-offsets.c
config.c.in
dyn.lds.S uml: use PAGE_SIZE in linker scripts 2008-05-13 08:02:22 -07:00
exec.c uml: runtime host VMSPLIT detection 2008-02-08 09:22:42 -08:00
exitcode.c proc: remove proc_root from drivers 2008-04-29 08:06:18 -07:00
gmon_syms.c
gprof_syms.c
init_task.c [PATCH] take init_files to fs/file.c 2008-05-16 17:22:20 -04:00
initrd.c uml: fix initrd printk 2008-02-23 17:12:13 -08:00
irq.c arch/um/kernel/irq.c: clean up some functions 2008-07-24 10:47:24 -07:00
ksyms.c arch/um/kernel/mem.c: remove arch_validate() 2008-07-24 10:47:24 -07:00
mem.c um: use generic show_mem() 2008-07-26 12:00:10 -07:00
physmem.c UML: make several more things static 2008-07-24 10:47:24 -07:00
process.c nohz: prevent tick stop outside of the idle loop 2008-07-18 18:10:28 +02:00
ptrace.c UML: make several more things static 2008-07-24 10:47:24 -07:00
reboot.c
sigio.c
signal.c
smp.c kernel/cpu.c: create a CPU_STARTING cpu_chain notifier 2008-09-08 19:25:24 +02:00
syscall.c unified (weak) sys_pipe implementation 2008-05-03 13:50:33 -07:00
sysrq.c
time.c UML: make several more things static 2008-07-24 10:47:24 -07:00
tlb.c
trap.c
uaccess.c UML: make several more things static 2008-07-24 10:47:24 -07:00
um_arch.c uml: deal with inaccessible address space start 2008-06-06 11:29:10 -07:00
umid.c
uml.lds.S uml: use PAGE_SIZE in linker scripts 2008-05-13 08:02:22 -07:00
vmlinux.lds.S