acrn-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
Makefile
asm-offsets.c
config.c.in
dyn.lds.S
exec.c
exitcode.c
gmon_syms.c
gprof_syms.c
init_task.c
initrd.c
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
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
umid.c
uml.lds.S
vmlinux.lds.S