This adds kernel/smp.c which contains helpers for IPI function calls. In addition to supporting the existing smp_call_function() in a more efficient manner, it also adds a more scalable variant called smp_call_function_single() for calling a given function on a single CPU only. The core of this is based on the x86-64 patch from Nick Piggin, lots of changes since then. "Alan D. Brunelle" <Alan.Brunelle@hp.com> has contributed lots of fixes and suggestions as well. Also thanks to Paul E. McKenney <paulmck@linux.vnet.ibm.com> for reviewing RCU usage and getting rid of the data allocation fallback deadlock. Acked-by: Ingo Molnar <mingo@elte.hu> Reviewed-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com> |
||
---|---|---|
.. | ||
asm-offsets.c | ||
audit.c | ||
auxio.c | ||
central.c | ||
cherrs.S | ||
chmc.c | ||
compat_audit.c | ||
cpu.c | ||
ds.c | ||
dtlb_miss.S | ||
dtlb_prot.S | ||
ebus.c | ||
entry.h | ||
etrap.S | ||
fpu_traps.S | ||
getsetcc.S | ||
head.S | ||
helpers.S | ||
hvapi.c | ||
hvcalls.S | ||
hvtramp.S | ||
idprom.c | ||
init_task.c | ||
iommu_common.h | ||
iommu.c | ||
irq.c | ||
itlb_miss.S | ||
ivec.S | ||
kgdb.c | ||
kprobes.c | ||
ktlb.S | ||
ldc.c | ||
Makefile | ||
mdesc.c | ||
misctrap.S | ||
module.c | ||
of_device.c | ||
pci_common.c | ||
pci_fire.c | ||
pci_impl.h | ||
pci_msi.c | ||
pci_psycho.c | ||
pci_sabre.c | ||
pci_schizo.c | ||
pci_sun4v_asm.S | ||
pci_sun4v.c | ||
pci_sun4v.h | ||
pci.c | ||
power.c | ||
process.c | ||
prom.c | ||
ptrace.c | ||
rtrap.S | ||
sbus.c | ||
setup.c | ||
signal32.c | ||
signal.c | ||
smp.c | ||
sparc64_ksyms.c | ||
spiterrs.S | ||
sstate.c | ||
stacktrace.c | ||
starfire.c | ||
sun4v_ivec.S | ||
sun4v_tlb_miss.S | ||
sys32.S | ||
sys_sparc32.c | ||
sys_sparc.c | ||
syscalls.S | ||
sysfs.c | ||
systbls.h | ||
systbls.S | ||
time.c | ||
trampoline.S | ||
traps.c | ||
tsb.S | ||
ttable.S | ||
una_asm.S | ||
unaligned.c | ||
us2e_cpufreq.c | ||
us3_cpufreq.c | ||
utrap.S | ||
vio.c | ||
viohs.c | ||
visemul.c | ||
vmlinux.lds.S | ||
winfixup.S |