Skip to contentSkip to conversation

generic IPI tree for v2.6.27

GIT PULL Ingo Molnar 1 participant 1 message Jul 15, 2008

Subsystems (30)
lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the latest generic-ipi-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip.git generic-ipi-for-linus

This is a "guest topic" of -tip, pulled from Jens. It was mostly written by Jens but Jens is on vacation now so he has asked us to handle its integration via the -tip tree.

This tree adds generic IPI helpers and an optimized and generalized SMP co-routine implementation in kernel/smp.c.

We've been testing it for the past few weeks and it was offered to linux-next via -tip as well via the tip/generic-ipi-next branch so we are reasonably sure about its quality and will take the blame if it breaks anything ;-)

I've done a grep half an hour ago for newly arrived uses of the changed API in your latest tree, the last two commits fix up those instances.

Thanks,

Ingo

------------------>
Heiko Carstens (1):
generic-ipi: fix s390 build bug

Ingo Molnar (7):
fix "smp_call_function: get rid of the unused nonatomic/retry argument"
fix: "smp_call_function: get rid of the unused nonatomic/retry argument"
fix: "smp_call_function: get rid of the unused nonatomic/retry argument" x86, visws: fix generic-ipi build
x86, visws: use mach-default/entry_arch.h
generic-ipi: merge fix
generic-ipi: more merge fallout

Jens Axboe (13):
Add generic helpers for arch IPI function calls
x86: convert to generic helpers for IPI function calls
powerpc: convert to generic helpers for IPI function calls
ia64: convert to generic helpers for IPI function calls
alpha: convert to generic helpers for IPI function calls
arm: convert to generic helpers for IPI function calls
m32r: convert to generic helpers for IPI function calls
mips: convert to generic helpers for IPI function calls
parisc: convert to generic helpers for IPI function calls
sh: convert to generic helpers for IPI function calls
smp_call_function: get rid of the unused nonatomic/retry argument on_each_cpu(): kill unused 'retry' parameter
generic-ipi: fixlet

Stephen Rothwell (1):
generic-ipi: fix linux-next tree build failure

 arch/Kconfig                              |    3 +
 arch/alpha/Kconfig                        |    1 +
 arch/alpha/kernel/core_marvel.c           |    6 +-
 arch/alpha/kernel/process.c               |    2 +-
 arch/alpha/kernel/smp.c                   |  180 ++-------------
 arch/alpha/oprofile/common.c              |    6 +-
 arch/arm/Kconfig                          |    1 +
 arch/arm/kernel/smp.c                     |  163 ++-----------
 arch/arm/oprofile/op_model_mpcore.c       |    2 +-
 arch/arm/vfp/vfpmodule.c                  |    2 +-
 arch/cris/arch-v32/kernel/smp.c           |    5 +-
 arch/ia64/Kconfig                         |    1 +
 arch/ia64/kernel/mca.c                    |    6 +-
 arch/ia64/kernel/palinfo.c                |    2 +-
 arch/ia64/kernel/perfmon.c                |    6 +-
 arch/ia64/kernel/process.c                |    2 +-
 arch/ia64/kernel/smp.c                    |  254 ++------------------
 arch/ia64/kernel/smpboot.c                |    6 +-
 arch/ia64/kernel/uncached.c               |    5 +-
 arch/ia64/sn/kernel/sn2/sn_hwperf.c       |    2 +-
 arch/m32r/Kconfig                         |    1 +
 arch/m32r/kernel/m32r_ksyms.c             |    3 -
 arch/m32r/kernel/smp.c                    |  132 ++---------
 arch/m32r/kernel/traps.c                  |    3 +-
 arch/mips/Kconfig                         |    1 +
 arch/mips/kernel/irq-rm9000.c             |    4 +-
 arch/mips/kernel/smp.c                    |  149 ++----------
 arch/mips/kernel/smtc.c                   |    1 -
 arch/mips/mm/c-r4k.c                      |   18 +-
 arch/mips/oprofile/common.c               |    6 +-
 arch/mips/oprofile/op_model_mipsxx.c      |    4 +-
 arch/mips/pmc-sierra/yosemite/prom.c      |    2 +-
 arch/mips/sibyte/cfe/setup.c              |    2 +-
 arch/mips/sibyte/sb1250/prom.c            |    2 +-
 arch/parisc/Kconfig                       |    1 +
 arch/parisc/kernel/cache.c                |    6 +-
 arch/parisc/kernel/smp.c                  |  136 ++---------
 arch/parisc/mm/init.c                     |    2 +-
 arch/powerpc/Kconfig                      |    1 +
 arch/powerpc/kernel/machine_kexec_64.c    |    2 +-
 arch/powerpc/kernel/rtas.c                |    2 +-
 arch/powerpc/kernel/smp.c                 |  234 ++----------------
 arch/powerpc/kernel/tau_6xx.c             |    4 +-
 arch/powerpc/kernel/time.c                |    2 +-
 arch/powerpc/mm/slice.c                   |    2 +-
 arch/powerpc/mm/tlb_64.c                  |    2 +-
 arch/powerpc/oprofile/common.c            |    6 +-
 arch/powerpc/platforms/cell/interrupt.c   |    1 +
 arch/powerpc/platforms/ps3/smp.c          |    7 +-
 arch/powerpc/platforms/pseries/xics.c     |    6 +-
 arch/powerpc/sysdev/mpic.c                |    2 +-
 arch/ppc/kernel/smp.c                     |    2 +-
 arch/s390/appldata/appldata_base.c        |    4 +-
 arch/s390/kernel/smp.c                    |   22 +-
 arch/s390/kernel/time.c                   |   10 +-
 arch/sh/Kconfig                           |    1 +
 arch/sh/kernel/smp.c                      |   62 ++----
 arch/sparc64/kernel/smp.c                 |   13 +-
 arch/sparc64/mm/hugetlbpage.c             |    2 +-
 arch/um/kernel/smp.c                      |    3 +-
 arch/x86/Kconfig                          |    1 +
 arch/x86/kernel/apic_32.c                 |    4 +
 arch/x86/kernel/cpu/mcheck/mce_64.c       |    6 +-
 arch/x86/kernel/cpu/mcheck/non-fatal.c    |    2 +-
 arch/x86/kernel/cpu/mtrr/main.c           |    4 +-
 arch/x86/kernel/cpu/perfctr-watchdog.c    |    4 +-
 arch/x86/kernel/cpuid.c                   |    2 +-
 arch/x86/kernel/entry_64.S                |    3 +
 arch/x86/kernel/io_apic_32.c              |    2 +-
 arch/x86/kernel/io_apic_64.c              |    2 +-
 arch/x86/kernel/irqinit_64.c              |    4 +
 arch/x86/kernel/ldt.c                     |    2 +-
 arch/x86/kernel/nmi.c                     |    6 +-
 arch/x86/kernel/process.c                 |    2 +-
 arch/x86/kernel/smp.c                     |  158 ++-----------
 arch/x86/kernel/smpboot.c                 |    4 +-
 arch/x86/kernel/smpcommon.c               |   56 -----
 arch/x86/kernel/tlb_32.c                  |    2 +-
 arch/x86/kernel/tlb_64.c                  |    2 +-
 arch/x86/kernel/vsyscall_64.c             |    4 +-
 arch/x86/kvm/vmx.c                        |    4 +-
 arch/x86/kvm/x86.c                        |    2 +-
 arch/x86/lib/msr-on-cpu.c                 |    8 +-
 arch/x86/mach-voyager/voyager_smp.c       |   98 ++------
 arch/x86/mm/pageattr.c                    |    4 +-
 arch/x86/oprofile/nmi_int.c               |   10 +-
 arch/x86/pci/amd_bus.c                    |    2 +-
 arch/x86/xen/enlighten.c                  |    4 +-
 arch/x86/xen/mmu.c                        |    2 +-
 arch/x86/xen/smp.c                        |  135 ++++-------
 arch/x86/xen/xen-ops.h                    |    9 +-
 drivers/acpi/processor_idle.c             |    2 +-
 drivers/char/agp/generic.c                |    2 +-
 drivers/char/sysrq.c                      |    2 +-
 drivers/cpuidle/cpuidle.c                 |    2 +-
 drivers/lguest/x86/core.c                 |    4 +-
 drivers/watchdog/booke_wdt.c              |    6 +-
 fs/buffer.c                               |    2 +-
 include/asm-alpha/smp.h                   |    5 +-
 include/asm-arm/smp.h                     |    3 +
 include/asm-ia64/smp.h                    |    8 +-
 include/asm-m32r/smp.h                    |    4 +
 include/asm-mips/smp.h                    |   13 +-
 include/asm-parisc/smp.h                  |    3 +
 include/asm-powerpc/smp.h                 |    8 +-
 include/asm-sh/smp.h                      |   14 +-
 include/asm-sparc/smp.h                   |    2 +-
 include/asm-x86/hw_irq.h                  |    1 +
 include/asm-x86/irq_vectors.h             |    6 +-
 include/asm-x86/mach-default/entry_arch.h |    1 +
 include/asm-x86/mach-visws/entry_arch.h   |   22 +--
 include/asm-x86/mach-voyager/entry_arch.h |    2 +-
 include/asm-x86/smp.h                     |   21 +-
 include/asm-x86/xen/events.h              |    1 +
 include/linux/smp.h                       |   46 +++-
 init/main.c                               |    2 +
 kernel/Makefile                           |    1 +
 kernel/hrtimer.c                          |    2 +-
 kernel/profile.c                          |    6 +-
 kernel/rcupdate.c                         |    2 +-
 kernel/smp.c                              |  381 +++++++++++++++++++++++++++++
 kernel/softirq.c                          |    4 +-
 kernel/time/tick-broadcast.c              |    2 +-
 mm/page_alloc.c                           |    2 +-
 mm/slab.c                                 |    4 +-
 mm/slub.c                                 |    2 +-
 net/core/flow.c                           |    2 +-
 net/iucv/iucv.c                           |   16 +-
 virt/kvm/kvm_main.c                       |   14 +-
 129 files changed, 890 insertions(+), 1796 deletions(-)
 create mode 100644 kernel/smp.c
arch/Kconfig +3 -0
index 3ea332b..ad89a33 100644
@@ -39,3 +39,6 @@ config HAVE_KRETPROBES
 
 config HAVE_DMA_ATTRS
 	def_bool n
+
+config USE_GENERIC_SMP_HELPERS
+	def_bool n
arch/alpha/Kconfig +1 -0
index 729cdbd..dbe8c28 100644
@@ -528,6 +528,7 @@ config ARCH_MAY_HAVE_PC_FDC
 config SMP
 	bool "Symmetric multi-processing support"
 	depends on ALPHA_SABLE || ALPHA_LYNX || ALPHA_RAWHIDE || ALPHA_DP264 || ALPHA_WILDFIRE || ALPHA_TITAN || ALPHA_GENERIC || ALPHA_SHARK || ALPHA_MARVEL
+	select USE_GENERIC_SMP_HELPERS
 	---help---
 	  This enables support for systems with more than one CPU. If you have
 	  a system with only one CPU, like most personal computers, say N. If
arch/alpha/kernel/core_marvel.c +3 -3
index b04f1fe..04dcc5e 100644
@@ -660,9 +660,9 @@ __marvel_rtc_io(u8 b, unsigned long addr, int write)
 
 #ifdef CONFIG_SMP
 		if (smp_processor_id() != boot_cpuid)
-			smp_call_function_on_cpu(__marvel_access_rtc,
-						 &rtc_access, 1, 1,
-						 cpumask_of_cpu(boot_cpuid));
+			smp_call_function_single(boot_cpuid,
+						 __marvel_access_rtc,
+						 &rtc_access, 1);
 		else
 			__marvel_access_rtc(&rtc_access);
 #else
arch/alpha/kernel/process.c +1 -1
index 96ed82f..351407e 100644
@@ -160,7 +160,7 @@ common_shutdown(int mode, char *restart_cmd)
 	struct halt_info args;
 	args.mode = mode;
 	args.restart_cmd = restart_cmd;
-	on_each_cpu(common_shutdown_1, &args, 1, 0);
+	on_each_cpu(common_shutdown_1, &args, 0);
 }
 
 void
arch/alpha/kernel/smp.c +15 -165

240 lines not on this page · raw message

arch/alpha/oprofile/common.c +3 -3
index 9fc0eeb..7c3d5ec 100644
@@ -65,7 +65,7 @@ op_axp_setup(void)
 	model->reg_setup(&reg, ctr, &sys);
 
 	/* Configure the registers on all cpus.  */
-	(void)smp_call_function(model->cpu_setup, &reg, 0, 1);
+	(void)smp_call_function(model->cpu_setup, &reg, 1);
 	model->cpu_setup(&reg);
 	return 0;
 }
@@ -86,7 +86,7 @@ op_axp_cpu_start(void *dummy)
 static int
 op_axp_start(void)
 {
-	(void)smp_call_function(op_axp_cpu_start, NULL, 0, 1);
+	(void)smp_call_function(op_axp_cpu_start, NULL, 1);
 	op_axp_cpu_start(NULL);
 	return 0;
 }
@@ -101,7 +101,7 @@ op_axp_cpu_stop(void *dummy)
 static void
 op_axp_stop(void)
 {
-	(void)smp_call_function(op_axp_cpu_stop, NULL, 0, 1);
+	(void)smp_call_function(op_axp_cpu_stop, NULL, 1);
 	op_axp_cpu_stop(NULL);
 }
 
arch/arm/Kconfig +1 -0
index 258f136..c7ad324 100644
@@ -701,6 +701,7 @@ source "kernel/time/Kconfig"
 config SMP
 	bool "Symmetric Multi-Processing (EXPERIMENTAL)"
 	depends on EXPERIMENTAL && (REALVIEW_EB_ARM11MP || MACH_REALVIEW_PB11MP)
+	select USE_GENERIC_SMP_HELPERS
 	help
 	  This enables support for systems with more than one CPU. If you have
 	  a system with only one CPU, like most personal computers, say N. If
arch/arm/kernel/smp.c +18 -145

240 lines not on this page · raw message

arch/arm/oprofile/op_model_mpcore.c +1 -1
index 74fae60..4458705 100644
@@ -201,7 +201,7 @@ static int em_call_function(int (*fn)(void))
 	data.ret = 0;
 
 	preempt_disable();
-	smp_call_function(em_func, &data, 1, 1);
+	smp_call_function(em_func, &data, 1);
 	em_func(&data);
 	preempt_enable();
 
arch/arm/vfp/vfpmodule.c +1 -1
index 32455c6..c0d2c9b 100644
@@ -352,7 +352,7 @@ static int __init vfp_init(void)
 	else if (vfpsid & FPSID_NODOUBLE) {
 		printk("no double precision support\n");
 	} else {
-		smp_call_function(vfp_enable, NULL, 1, 1);
+		smp_call_function(vfp_enable, NULL, 1);
 
 		VFP_arch = (vfpsid & FPSID_ARCH_MASK) >> FPSID_ARCH_BIT;  /* Extract the architecture version */
 		printk("implementor %02x architecture %d part %02x variant %x rev %x\n",
arch/cris/arch-v32/kernel/smp.c +2 -3
index a9c3334..952a24b 100644
@@ -194,7 +194,7 @@ void stop_this_cpu(void* dummy)
 /* Other calls */
 void smp_send_stop(void)
 {
-	smp_call_function(stop_this_cpu, NULL, 1, 0);
+	smp_call_function(stop_this_cpu, NULL, 0);
 }
 
 int setup_profiling_timer(unsigned int multiplier)
@@ -316,8 +316,7 @@ int send_ipi(int vector, int wait, cpumask_t cpu_mask)
  * You must not call this function with disabled interrupts or from a
  * hardware interrupt handler or from a bottom half handler.
  */
-int smp_call_function(void (*func)(void *info), void *info,
-		      int nonatomic, int wait)
+int smp_call_function(void (*func)(void *info), void *info, int wait)
 {
 	cpumask_t cpu_mask = CPU_MASK_ALL;
 	struct call_data_struct data;
arch/ia64/Kconfig +1 -0
index 16be414..18bcc10 100644
@@ -303,6 +303,7 @@ config VIRT_CPU_ACCOUNTING
 
 config SMP
 	bool "Symmetric multi-processing support"
+	select USE_GENERIC_SMP_HELPERS
 	help
 	  This enables support for systems with more than one CPU. If you have
 	  a system with only one CPU, say N.  If you have a system with more
arch/ia64/kernel/mca.c +3 -3
index 705176b..7dd96c1 100644
@@ -707,7 +707,7 @@ ia64_mca_cmc_vector_enable (void *dummy)
 static void
 ia64_mca_cmc_vector_disable_keventd(struct work_struct *unused)
 {
-	on_each_cpu(ia64_mca_cmc_vector_disable, NULL, 1, 0);
+	on_each_cpu(ia64_mca_cmc_vector_disable, NULL, 0);
 }
 
 /*
@@ -719,7 +719,7 @@ ia64_mca_cmc_vector_disable_keventd(struct work_struct *unused)
 static void
 ia64_mca_cmc_vector_enable_keventd(struct work_struct *unused)
 {
-	on_each_cpu(ia64_mca_cmc_vector_enable, NULL, 1, 0);
+	on_each_cpu(ia64_mca_cmc_vector_enable, NULL, 0);
 }
 
 /*
@@ -1881,7 +1881,7 @@ static int __cpuinit mca_cpu_callback(struct notifier_block *nfb,
 	case CPU_ONLINE:
 	case CPU_ONLINE_FROZEN:
 		smp_call_function_single(hotcpu, ia64_mca_cmc_vector_adjust,
-					 NULL, 1, 0);
+					 NULL, 0);
 		break;
 	}
 	return NOTIFY_OK;
arch/ia64/kernel/palinfo.c +1 -1
index 9dc00f7..e5c57f4 100644
@@ -921,7 +921,7 @@ int palinfo_handle_smp(pal_func_cpu_u_t *f, char *page)
 
 
 	/* will send IPI to other CPU and wait for completion of remote call */
-	if ((ret=smp_call_function_single(f->req_cpu, palinfo_smp_call, &ptr, 0, 1))) {
+	if ((ret=smp_call_function_single(f->req_cpu, palinfo_smp_call, &ptr, 1))) {
 		printk(KERN_ERR "palinfo: remote CPU call from %d to %d on function %d: "
 		       "error %d\n", smp_processor_id(), f->req_cpu, f->func_id, ret);
 		return 0;
arch/ia64/kernel/perfmon.c +3 -3
index 7714a97..19d4493 100644
@@ -1820,7 +1820,7 @@ pfm_syswide_cleanup_other_cpu(pfm_context_t *ctx)
 	int ret;
 
 	DPRINT(("calling CPU%d for cleanup\n", ctx->ctx_cpu));
-	ret = smp_call_function_single(ctx->ctx_cpu, pfm_syswide_force_stop, ctx, 0, 1);
+	ret = smp_call_function_single(ctx->ctx_cpu, pfm_syswide_force_stop, ctx, 1);
 	DPRINT(("called CPU%d for cleanup ret=%d\n", ctx->ctx_cpu, ret));
 }
 #endif /* CONFIG_SMP */
@@ -6508,7 +6508,7 @@ pfm_install_alt_pmu_interrupt(pfm_intr_handler_desc_t *hdl)
 	}
 
 	/* save the current system wide pmu states */
-	ret = on_each_cpu(pfm_alt_save_pmu_state, NULL, 0, 1);
+	ret = on_each_cpu(pfm_alt_save_pmu_state, NULL, 1);
 	if (ret) {
 		DPRINT(("on_each_cpu() failed: %d\n", ret));
 		goto cleanup_reserve;
@@ -6553,7 +6553,7 @@ pfm_remove_alt_pmu_interrupt(pfm_intr_handler_desc_t *hdl)
 
 	pfm_alt_intr_handler = NULL;
 
-	ret = on_each_cpu(pfm_alt_restore_pmu_state, NULL, 0, 1);
+	ret = on_each_cpu(pfm_alt_restore_pmu_state, NULL, 1);
 	if (ret) {
 		DPRINT(("on_each_cpu() failed: %d\n", ret));
 	}
arch/ia64/kernel/process.c +1 -1
index a3a34b4..fabaf08 100644
@@ -286,7 +286,7 @@ void cpu_idle_wait(void)
 {
 	smp_mb();
 	/* kick all the CPUs so that they exit out of pm_idle */
-	smp_call_function(do_nothing, NULL, 0, 1);
+	smp_call_function(do_nothing, NULL, 1);
 }
 EXPORT_SYMBOL_GPL(cpu_idle_wait);
 
arch/ia64/kernel/smp.c +15 -239

302 lines not on this page · raw message

arch/ia64/kernel/smpboot.c +3 -3
index d7ad42b..9d1d429 100644
@@ -317,7 +317,7 @@ ia64_sync_itc (unsigned int master)
 
 	go[MASTER] = 1;
 
-	if (smp_call_function_single(master, sync_master, NULL, 1, 0) < 0) {
+	if (smp_call_function_single(master, sync_master, NULL, 0) < 0) {
 		printk(KERN_ERR "sync_itc: failed to get attention of CPU %u!\n", master);
 		return;
 	}
@@ -395,14 +395,14 @@ smp_callin (void)
 
 	fix_b0_for_bsp();
 
-	lock_ipi_calllock();
+	ipi_call_lock_irq();
 	spin_lock(&vector_lock);
 	/* Setup the per cpu irq handling data structures */
 	__setup_vector_irq(cpuid);
 	cpu_set(cpuid, cpu_online_map);
 	per_cpu(cpu_state, cpuid) = CPU_ONLINE;
 	spin_unlock(&vector_lock);
-	unlock_ipi_calllock();
+	ipi_call_unlock_irq();
 
 	smp_setup_percpu_timer();
 
arch/ia64/kernel/uncached.c +2 -3
index e77995a..8eff8c1 100644
@@ -123,8 +123,7 @@ static int uncached_add_chunk(struct uncached_pool *uc_pool, int nid)
 	status = ia64_pal_prefetch_visibility(PAL_VISIBILITY_PHYSICAL);
 	if (status == PAL_VISIBILITY_OK_REMOTE_NEEDED) {
 		atomic_set(&uc_pool->status, 0);
-		status = smp_call_function(uncached_ipi_visibility, uc_pool,
-					   0, 1);
+		status = smp_call_function(uncached_ipi_visibility, uc_pool, 1);
 		if (status || atomic_read(&uc_pool->status))
 			goto failed;
 	} else if (status != PAL_VISIBILITY_OK)
@@ -146,7 +145,7 @@ static int uncached_add_chunk(struct uncached_pool *uc_pool, int nid)
 	if (status != PAL_STATUS_SUCCESS)
 		goto failed;
 	atomic_set(&uc_pool->status, 0);
-	status = smp_call_function(uncached_ipi_mc_drain, uc_pool, 0, 1);
+	status = smp_call_function(uncached_ipi_mc_drain, uc_pool, 1);
 	if (status || atomic_read(&uc_pool->status))
 		goto failed;
 
arch/ia64/sn/kernel/sn2/sn_hwperf.c +1 -1
index 8cc0c47..636588e 100644
@@ -629,7 +629,7 @@ static int sn_hwperf_op_cpu(struct sn_hwperf_op_info *op_info)
 		if (use_ipi) {
 			/* use an interprocessor interrupt to call SAL */
 			smp_call_function_single(cpu, sn_hwperf_call_sal,
-				op_info, 1, 1);
+				op_info, 1);
 		}
 		else {
 			/* migrate the task before calling SAL */ 
arch/m32r/Kconfig +1 -0
index de153de..a5f864c 100644
@@ -296,6 +296,7 @@ config PREEMPT
 
 config SMP
 	bool "Symmetric multi-processing support"
+	select USE_GENERIC_SMP_HELPERS
 	---help---
 	  This enables support for systems with more than one CPU. If you have
 	  a system with only one CPU, like most personal computers, say N. If
arch/m32r/kernel/m32r_ksyms.c +0 -3
index e6709fe..16bcb18 100644
@@ -43,9 +43,6 @@ EXPORT_SYMBOL(dcache_dummy);
 #endif
 EXPORT_SYMBOL(cpu_data);
 
-/* Global SMP stuff */
-EXPORT_SYMBOL(smp_call_function);
-
 /* TLB flushing */
 EXPORT_SYMBOL(smp_flush_tlb_page);
 #endif
arch/m32r/kernel/smp.c +15 -117

173 lines not on this page · raw message

arch/m32r/kernel/traps.c +2 -1
index 89ba4a0..46159a4 100644
@@ -40,6 +40,7 @@ extern void smp_invalidate_interrupt(void);
 extern void smp_call_function_interrupt(void);
 extern void smp_ipi_timer_interrupt(void);
 extern void smp_flush_cache_all_interrupt(void);
+extern void smp_call_function_single_interrupt(void);
 
 /*
  * for Boot AP function
@@ -103,7 +104,7 @@ void	set_eit_vector_entries(void)
 	eit_vector[186] = (unsigned long)smp_call_function_interrupt;
 	eit_vector[187] = (unsigned long)smp_ipi_timer_interrupt;
 	eit_vector[188] = (unsigned long)smp_flush_cache_all_interrupt;
-	eit_vector[189] = 0;
+	eit_vector[189] = (unsigned long)smp_call_function_single_interrupt;
 	eit_vector[190] = 0;
 	eit_vector[191] = 0;
 #endif
arch/mips/Kconfig +1 -0
index 24c5dee..d2be3ff 100644
@@ -1763,6 +1763,7 @@ config SMP
 	bool "Multi-Processing support"
 	depends on SYS_SUPPORTS_SMP
 	select IRQ_PER_CPU
+	select USE_GENERIC_SMP_HELPERS
 	help
 	  This enables support for systems with more than one CPU. If you have
 	  a system with only one CPU, like most personal computers, say N. If
arch/mips/kernel/irq-rm9000.c +2 -2
index ed9febe..b47e461 100644
@@ -49,7 +49,7 @@ static void local_rm9k_perfcounter_irq_startup(void *args)
 
 static unsigned int rm9k_perfcounter_irq_startup(unsigned int irq)
 {
-	on_each_cpu(local_rm9k_perfcounter_irq_startup, (void *) irq, 0, 1);
+	on_each_cpu(local_rm9k_perfcounter_irq_startup, (void *) irq, 1);
 
 	return 0;
 }
@@ -66,7 +66,7 @@ static void local_rm9k_perfcounter_irq_shutdown(void *args)
 
 static void rm9k_perfcounter_irq_shutdown(unsigned int irq)
 {
-	on_each_cpu(local_rm9k_perfcounter_irq_shutdown, (void *) irq, 0, 1);
+	on_each_cpu(local_rm9k_perfcounter_irq_shutdown, (void *) irq, 1);
 }
 
 static struct irq_chip rm9k_irq_controller = {
arch/mips/kernel/smp.c +15 -134

191 lines not on this page · raw message

arch/mips/kernel/smtc.c +0 -1
index 3e86318..a516286 100644
@@ -877,7 +877,6 @@ static void ipi_resched_interrupt(void)
 	/* Return from interrupt should be enough to cause scheduler check */
 }
 
-
 static void ipi_call_interrupt(void)
 {
 	/* Invoke generic function invocation code in smp.c */
arch/mips/mm/c-r4k.c +9 -9
index 2709675..71df339 100644
@@ -43,12 +43,12 @@
  *    primary cache.
  */
 static inline void r4k_on_each_cpu(void (*func) (void *info), void *info,
-                                   int retry, int wait)
+                                   int wait)
 {
 	preempt_disable();
 
 #if !defined(CONFIG_MIPS_MT_SMP) && !defined(CONFIG_MIPS_MT_SMTC)
-	smp_call_function(func, info, retry, wait);
+	smp_call_function(func, info, wait);
 #endif
 	func(info);
 	preempt_enable();
@@ -350,7 +350,7 @@ static inline void local_r4k___flush_cache_all(void * args)
 
 static void r4k___flush_cache_all(void)
 {
-	r4k_on_each_cpu(local_r4k___flush_cache_all, NULL, 1, 1);
+	r4k_on_each_cpu(local_r4k___flush_cache_all, NULL, 1);
 }
 
 static inline int has_valid_asid(const struct mm_struct *mm)
@@ -397,7 +397,7 @@ static void r4k_flush_cache_range(struct vm_area_struct *vma,
 	int exec = vma->vm_flags & VM_EXEC;
 
 	if (cpu_has_dc_aliases || (exec && !cpu_has_ic_fills_f_dc))
-		r4k_on_each_cpu(local_r4k_flush_cache_range, vma, 1, 1);
+		r4k_on_each_cpu(local_r4k_flush_cache_range, vma, 1);
 }
 
 static inline void local_r4k_flush_cache_mm(void * args)
@@ -429,7 +429,7 @@ static void r4k_flush_cache_mm(struct mm_struct *mm)
 	if (!cpu_has_dc_aliases)
 		return;
 
-	r4k_on_each_cpu(local_r4k_flush_cache_mm, mm, 1, 1);
+	r4k_on_each_cpu(local_r4k_flush_cache_mm, mm, 1);
 }
 
 struct flush_cache_page_args {
@@ -521,7 +521,7 @@ static void r4k_flush_cache_page(struct vm_area_struct *vma,
 	args.addr = addr;
 	args.pfn = pfn;
 
-	r4k_on_each_cpu(local_r4k_flush_cache_page, &args, 1, 1);
+	r4k_on_each_cpu(local_r4k_flush_cache_page, &args, 1);
 }
 
 static inline void local_r4k_flush_data_cache_page(void * addr)
@@ -535,7 +535,7 @@ static void r4k_flush_data_cache_page(unsigned long addr)
 		local_r4k_flush_data_cache_page((void *)addr);
 	else
 		r4k_on_each_cpu(local_r4k_flush_data_cache_page, (void *) addr,
-			        1, 1);
+			        1);
 }
 
 struct flush_icache_range_args {
@@ -571,7 +571,7 @@ static void r4k_flush_icache_range(unsigned long start, unsigned long end)
 	args.start = start;
 	args.end = end;
 
-	r4k_on_each_cpu(local_r4k_flush_icache_range, &args, 1, 1);
+	r4k_on_each_cpu(local_r4k_flush_icache_range, &args, 1);
 	instruction_hazard();
 }
 
@@ -672,7 +672,7 @@ static void local_r4k_flush_cache_sigtramp(void * arg)
 
 static void r4k_flush_cache_sigtramp(unsigned long addr)
 {
-	r4k_on_each_cpu(local_r4k_flush_cache_sigtramp, (void *) addr, 1, 1);
+	r4k_on_each_cpu(local_r4k_flush_cache_sigtramp, (void *) addr, 1);
 }
 
 static void r4k_flush_icache_all(void)
arch/mips/oprofile/common.c +3 -3
index b5f6f71..dd2fbd6 100644
@@ -27,7 +27,7 @@ static int op_mips_setup(void)
 	model->reg_setup(ctr);
 
 	/* Configure the registers on all cpus.  */
-	on_each_cpu(model->cpu_setup, NULL, 0, 1);
+	on_each_cpu(model->cpu_setup, NULL, 1);
 
         return 0;
 }
@@ -58,7 +58,7 @@ static int op_mips_create_files(struct super_block * sb, struct dentry * root)
 
 static int op_mips_start(void)
 {
-	on_each_cpu(model->cpu_start, NULL, 0, 1);
+	on_each_cpu(model->cpu_start, NULL, 1);
 
 	return 0;
 }
@@ -66,7 +66,7 @@ static int op_mips_start(void)
 static void op_mips_stop(void)
 {
 	/* Disable performance monitoring for all counters.  */
-	on_each_cpu(model->cpu_stop, NULL, 0, 1);
+	on_each_cpu(model->cpu_stop, NULL, 1);
 }
 
 int __init oprofile_arch_init(struct oprofile_operations *ops)
arch/mips/oprofile/op_model_mipsxx.c +2 -2
index b40df7d..54759f1 100644
@@ -313,7 +313,7 @@ static int __init mipsxx_init(void)
 	if (!cpu_has_mipsmt_pertccounters)
 		counters = counters_total_to_per_cpu(counters);
 #endif
-	on_each_cpu(reset_counters, (void *)(long)counters, 0, 1);
+	on_each_cpu(reset_counters, (void *)(long)counters, 1);
 
 	op_model_mipsxx_ops.num_counters = counters;
 	switch (current_cpu_type()) {
@@ -382,7 +382,7 @@ static void mipsxx_exit(void)
 	int counters = op_model_mipsxx_ops.num_counters;
 
 	counters = counters_per_cpu_to_total(counters);
-	on_each_cpu(reset_counters, (void *)(long)counters, 0, 1);
+	on_each_cpu(reset_counters, (void *)(long)counters, 1);
 
 	perf_irq = save_perf_irq;
 }
arch/mips/pmc-sierra/yosemite/prom.c +1 -1
index 35dc435..cf4c868 100644
@@ -64,7 +64,7 @@ static void prom_exit(void)
 #ifdef CONFIG_SMP
 	if (smp_processor_id())
 		/* CPU 1 */
-		smp_call_function(prom_cpu0_exit, NULL, 1, 1);
+		smp_call_function(prom_cpu0_exit, NULL, 1);
 #endif
 	prom_cpu0_exit(NULL);
 }
arch/mips/sibyte/cfe/setup.c +1 -1
index 33fce82..fd9604d 100644
@@ -74,7 +74,7 @@ static void __noreturn cfe_linux_exit(void *arg)
 		if (!reboot_smp) {
 			/* Get CPU 0 to do the cfe_exit */
 			reboot_smp = 1;
-			smp_call_function(cfe_linux_exit, arg, 1, 0);
+			smp_call_function(cfe_linux_exit, arg, 0);
 		}
 	} else {
 		printk("Passing control back to CFE...\n");
arch/mips/sibyte/sb1250/prom.c +1 -1
index cf8f6b3..65b1af6 100644
@@ -66,7 +66,7 @@ static void prom_linux_exit(void)
 {
 #ifdef CONFIG_SMP
 	if (smp_processor_id()) {
-		smp_call_function(prom_cpu0_exit, NULL, 1, 1);
+		smp_call_function(prom_cpu0_exit, NULL, 1);
 	}
 #endif
 	while(1);
arch/parisc/Kconfig +1 -0
index bc7a19d..a7d4fd3 100644
@@ -199,6 +199,7 @@ endchoice
 
 config SMP
 	bool "Symmetric multi-processing support"
+	select USE_GENERIC_SMP_HELPERS
 	---help---
 	  This enables support for systems with more than one CPU. If you have
 	  a system with only one CPU, like most personal computers, say N. If
arch/parisc/kernel/cache.c +3 -3
index e10d25d..5259d8c 100644
@@ -51,12 +51,12 @@ static struct pdc_btlb_info btlb_info __read_mostly;
 void
 flush_data_cache(void)
 {
-	on_each_cpu(flush_data_cache_local, NULL, 1, 1);
+	on_each_cpu(flush_data_cache_local, NULL, 1);
 }
 void 
 flush_instruction_cache(void)
 {
-	on_each_cpu(flush_instruction_cache_local, NULL, 1, 1);
+	on_each_cpu(flush_instruction_cache_local, NULL, 1);
 }
 #endif
 
@@ -515,7 +515,7 @@ static void cacheflush_h_tmp_function(void *dummy)
 
 void flush_cache_all(void)
 {
-	on_each_cpu(cacheflush_h_tmp_function, NULL, 1, 1);
+	on_each_cpu(cacheflush_h_tmp_function, NULL, 1);
 }
 
 void flush_cache_mm(struct mm_struct *mm)
arch/parisc/kernel/smp.c +22 -114

173 lines not on this page · raw message

arch/parisc/mm/init.c +1 -1
index ce0da68..b4d6c87 100644
@@ -1053,7 +1053,7 @@ void flush_tlb_all(void)
 	    do_recycle++;
 	}
 	spin_unlock(&sid_lock);
-	on_each_cpu(flush_tlb_all_local, NULL, 1, 1);
+	on_each_cpu(flush_tlb_all_local, NULL, 1);
 	if (do_recycle) {
 	    spin_lock(&sid_lock);
 	    recycle_sids(recycle_ndirty,recycle_dirty_array);
arch/powerpc/Kconfig +1 -0
index a5e9912..20eacf2 100644
@@ -111,6 +111,7 @@ config PPC
 	select HAVE_KPROBES
 	select HAVE_KRETPROBES
 	select HAVE_LMB
+	select USE_GENERIC_SMP_HELPERS if SMP
 	select HAVE_OPROFILE
 
 config EARLY_PRINTK
arch/powerpc/kernel/machine_kexec_64.c +1 -1
index 704375b..b732b5f 100644
@@ -172,7 +172,7 @@ static void kexec_prepare_cpus(void)
 {
 	int my_cpu, i, notified=-1;
 
-	smp_call_function(kexec_smp_down, NULL, 0, /* wait */0);
+	smp_call_function(kexec_smp_down, NULL, /* wait */0);
 	my_cpu = get_cpu();
 
 	/* check the others cpus are now down (via paca hw cpu id == -1) */
arch/powerpc/kernel/rtas.c +1 -1
index 34843c3..647f3e8 100644
@@ -747,7 +747,7 @@ static int rtas_ibm_suspend_me(struct rtas_args *args)
 	/* Call function on all CPUs.  One of us will make the
 	 * rtas call
 	 */
-	if (on_each_cpu(rtas_percpu_suspend_me, &data, 1, 0))
+	if (on_each_cpu(rtas_percpu_suspend_me, &data, 0))
 		data.error = -EINVAL;
 
 	wait_for_completion(&done);
arch/powerpc/kernel/smp.c +20 -214

274 lines not on this page · raw message

arch/powerpc/kernel/tau_6xx.c +2 -2
index 368a493..c3a56d6 100644
@@ -192,7 +192,7 @@ static void tau_timeout_smp(unsigned long unused)
 
 	/* schedule ourselves to be run again */
 	mod_timer(&tau_timer, jiffies + shrink_timer) ;
-	on_each_cpu(tau_timeout, NULL, 1, 0);
+	on_each_cpu(tau_timeout, NULL, 0);
 }
 
 /*
@@ -234,7 +234,7 @@ int __init TAU_init(void)
 	tau_timer.expires = jiffies + shrink_timer;
 	add_timer(&tau_timer);
 
-	on_each_cpu(TAU_init_smp, NULL, 1, 0);
+	on_each_cpu(TAU_init_smp, NULL, 0);
 
 	printk("Thermal assist unit ");
 #ifdef CONFIG_TAU_INT
arch/powerpc/kernel/time.c +1 -1
index 73401e8..f1a38a6 100644
@@ -322,7 +322,7 @@ void snapshot_timebases(void)
 {
 	if (!cpu_has_feature(CPU_FTR_PURR))
 		return;
-	on_each_cpu(snapshot_tb_and_purr, NULL, 0, 1);
+	on_each_cpu(snapshot_tb_and_purr, NULL, 1);
 }
 
 /*
arch/powerpc/mm/slice.c +1 -1
index ad928ed..2bd12d9 100644
@@ -218,7 +218,7 @@ static void slice_convert(struct mm_struct *mm, struct slice_mask mask, int psiz
 	mb();
 
 	/* XXX this is sub-optimal but will do for now */
-	on_each_cpu(slice_flush_segments, mm, 0, 1);
+	on_each_cpu(slice_flush_segments, mm, 1);
 #ifdef CONFIG_SPU_BASE
 	spu_flush_all_slbs(mm);
 #endif
arch/powerpc/mm/tlb_64.c +1 -1
index e2d867c..69ad829 100644
@@ -66,7 +66,7 @@ static void pgtable_free_now(pgtable_free_t pgf)
 {
 	pte_freelist_forced_free++;
 
-	smp_call_function(pte_free_smp_sync, NULL, 0, 1);
+	smp_call_function(pte_free_smp_sync, NULL, 1);
 
 	pgtable_free(pgf);
 }
arch/powerpc/oprofile/common.c +3 -3
index 4908dc9..17807ac 100644
@@ -65,7 +65,7 @@ static int op_powerpc_setup(void)
 
 	/* Configure the registers on all cpus.	 If an error occurs on one
 	 * of the cpus, op_per_cpu_rc will be set to the error */
-	on_each_cpu(op_powerpc_cpu_setup, NULL, 0, 1);
+	on_each_cpu(op_powerpc_cpu_setup, NULL, 1);
 
 out:	if (op_per_cpu_rc) {
 		/* error on setup release the performance counter hardware */
@@ -100,7 +100,7 @@ static int op_powerpc_start(void)
 	if (model->global_start)
 		return model->global_start(ctr);
 	if (model->start) {
-		on_each_cpu(op_powerpc_cpu_start, NULL, 0, 1);
+		on_each_cpu(op_powerpc_cpu_start, NULL, 1);
 		return op_per_cpu_rc;
 	}
 	return -EIO; /* No start function is defined for this
@@ -115,7 +115,7 @@ static inline void op_powerpc_cpu_stop(void *dummy)
 static void op_powerpc_stop(void)
 {
 	if (model->stop)
-		on_each_cpu(op_powerpc_cpu_stop, NULL, 0, 1);
+		on_each_cpu(op_powerpc_cpu_stop, NULL, 1);
         if (model->global_stop)
                 model->global_stop();
 }
arch/powerpc/platforms/cell/interrupt.c +1 -0
index 5bf7df1..2d5bb22 100644
@@ -218,6 +218,7 @@ void iic_request_IPIs(void)
 {
 	iic_request_ipi(PPC_MSG_CALL_FUNCTION, "IPI-call");
 	iic_request_ipi(PPC_MSG_RESCHEDULE, "IPI-resched");
+	iic_request_ipi(PPC_MSG_CALL_FUNC_SINGLE, "IPI-call-single");
 #ifdef CONFIG_DEBUGGER
 	iic_request_ipi(PPC_MSG_DEBUGGER_BREAK, "IPI-debug");
 #endif /* CONFIG_DEBUGGER */
arch/powerpc/platforms/ps3/smp.c +4 -3
index f0b12f2..a0927a3 100644
@@ -105,9 +105,10 @@ static void __init ps3_smp_setup_cpu(int cpu)
 	 * to index needs to be setup.
 	 */
 
-	BUILD_BUG_ON(PPC_MSG_CALL_FUNCTION  != 0);
-	BUILD_BUG_ON(PPC_MSG_RESCHEDULE     != 1);
-	BUILD_BUG_ON(PPC_MSG_DEBUGGER_BREAK != 3);
+	BUILD_BUG_ON(PPC_MSG_CALL_FUNCTION    != 0);
+	BUILD_BUG_ON(PPC_MSG_RESCHEDULE       != 1);
+	BUILD_BUG_ON(PPC_MSG_CALL_FUNC_SINGLE != 2);
+	BUILD_BUG_ON(PPC_MSG_DEBUGGER_BREAK   != 3);
 
 	for (i = 0; i < MSG_COUNT; i++) {
 		result = ps3_event_receive_port_setup(cpu, &virqs[i]);
arch/powerpc/platforms/pseries/xics.c +2 -4
index ebebc28..0fc830f 100644
@@ -383,13 +383,11 @@ static irqreturn_t xics_ipi_dispatch(int cpu)
 			mb();
 			smp_message_recv(PPC_MSG_RESCHEDULE);
 		}
-#if 0
-		if (test_and_clear_bit(PPC_MSG_MIGRATE_TASK,
+		if (test_and_clear_bit(PPC_MSG_CALL_FUNC_SINGLE,
 				       &xics_ipi_message[cpu].value)) {
 			mb();
-			smp_message_recv(PPC_MSG_MIGRATE_TASK);
+			smp_message_recv(PPC_MSG_CALL_FUNC_SINGLE);
 		}
-#endif
 #if defined(CONFIG_DEBUGGER) || defined(CONFIG_KEXEC)
 		if (test_and_clear_bit(PPC_MSG_DEBUGGER_BREAK,
 				       &xics_ipi_message[cpu].value)) {
arch/powerpc/sysdev/mpic.c +1 -1
index 7680001..6c90c95 100644
@@ -1494,7 +1494,7 @@ void mpic_request_ipis(void)
 	static char *ipi_names[] = {
 		"IPI0 (call function)",
 		"IPI1 (reschedule)",
-		"IPI2 (unused)",
+		"IPI2 (call function single)",
 		"IPI3 (debugger break)",
 	};
 	BUG_ON(mpic == NULL);
arch/ppc/kernel/smp.c +1 -1
index 0559985..bcab0d2 100644
@@ -152,7 +152,7 @@ static void stop_this_cpu(void *dummy)
 
 void smp_send_stop(void)
 {
-	smp_call_function(stop_this_cpu, NULL, 1, 0);
+	smp_call_function(stop_this_cpu, NULL, 0);
 }
 
 /*
arch/s390/appldata/appldata_base.c +2 -2
index 9cb3d92..a7f8979 100644
@@ -203,7 +203,7 @@ __appldata_vtimer_setup(int cmd)
 			per_cpu(appldata_timer, i).expires = per_cpu_interval;
 			smp_call_function_single(i, add_virt_timer_periodic,
 						 &per_cpu(appldata_timer, i),
-						 0, 1);
+						 1);
 		}
 		appldata_timer_active = 1;
 		break;
@@ -228,7 +228,7 @@ __appldata_vtimer_setup(int cmd)
 			args.timer = &per_cpu(appldata_timer, i);
 			args.expires = per_cpu_interval;
 			smp_call_function_single(i, __appldata_mod_vtimer_wrap,
-						 &args, 0, 1);
+						 &args, 1);
 		}
 	}
 }
arch/s390/kernel/smp.c +9 -13
index 5d4fa4b..b678103 100644
@@ -109,7 +109,7 @@ static void do_call_function(void)
 }
 
 static void __smp_call_function_map(void (*func) (void *info), void *info,
-				    int nonatomic, int wait, cpumask_t map)
+				    int wait, cpumask_t map)
 {
 	struct call_data_struct data;
 	int cpu, local = 0;
@@ -162,7 +162,6 @@ out:
  * smp_call_function:
  * @func: the function to run; this must be fast and non-blocking
  * @info: an arbitrary pointer to pass to the function
- * @nonatomic: unused
  * @wait: if true, wait (atomically) until function has completed on other CPUs
  *
  * Run a function on all other CPUs.
@@ -170,15 +169,14 @@ out:
  * You must not call this function with disabled interrupts, from a
  * hardware interrupt handler or from a bottom half.
  */
-int smp_call_function(void (*func) (void *info), void *info, int nonatomic,
-		      int wait)
+int smp_call_function(void (*func) (void *info), void *info, int wait)
 {
 	cpumask_t map;
 
 	spin_lock(&call_lock);
 	map = cpu_online_map;
 	cpu_clear(smp_processor_id(), map);
-	__smp_call_function_map(func, info, nonatomic, wait, map);
+	__smp_call_function_map(func, info, wait, map);
 	spin_unlock(&call_lock);
 	return 0;
 }
@@ -189,7 +187,6 @@ EXPORT_SYMBOL(smp_call_function);
  * @cpu: the CPU where func should run
  * @func: the function to run; this must be fast and non-blocking
  * @info: an arbitrary pointer to pass to the function
- * @nonatomic: unused
  * @wait: if true, wait (atomically) until function has completed on other CPUs
  *
  * Run a function on one processor.
@@ -198,11 +195,10 @@ EXPORT_SYMBOL(smp_call_function);
  * hardware interrupt handler or from a bottom half.
  */
 int smp_call_function_single(int cpu, void (*func) (void *info), void *info,
-			     int nonatomic, int wait)
+			     int wait)
 {
 	spin_lock(&call_lock);
-	__smp_call_function_map(func, info, nonatomic, wait,
-				cpumask_of_cpu(cpu));
+	__smp_call_function_map(func, info, wait, cpumask_of_cpu(cpu));
 	spin_unlock(&call_lock);
 	return 0;
 }
@@ -228,7 +224,7 @@ int smp_call_function_mask(cpumask_t mask, void (*func)(void *), void *info,
 {
 	spin_lock(&call_lock);
 	cpu_clear(smp_processor_id(), mask);
-	__smp_call_function_map(func, info, 0, wait, mask);
+	__smp_call_function_map(func, info, wait, mask);
 	spin_unlock(&call_lock);
 	return 0;
 }
@@ -303,7 +299,7 @@ static void smp_ptlb_callback(void *info)
 
 void smp_ptlb_all(void)
 {
-	on_each_cpu(smp_ptlb_callback, NULL, 0, 1);
+	on_each_cpu(smp_ptlb_callback, NULL, 1);
 }
 EXPORT_SYMBOL(smp_ptlb_all);
 #endif /* ! CONFIG_64BIT */
@@ -351,7 +347,7 @@ void smp_ctl_set_bit(int cr, int bit)
 	memset(&parms.orvals, 0, sizeof(parms.orvals));
 	memset(&parms.andvals, 0xff, sizeof(parms.andvals));
 	parms.orvals[cr] = 1 << bit;
-	on_each_cpu(smp_ctl_bit_callback, &parms, 0, 1);
+	on_each_cpu(smp_ctl_bit_callback, &parms, 1);
 }
 EXPORT_SYMBOL(smp_ctl_set_bit);
 
@@ -365,7 +361,7 @@ void smp_ctl_clear_bit(int cr, int bit)
 	memset(&parms.orvals, 0, sizeof(parms.orvals));
 	memset(&parms.andvals, 0xff, sizeof(parms.andvals));
 	parms.andvals[cr] = ~(1L << bit);
-	on_each_cpu(smp_ctl_bit_callback, &parms, 0, 1);
+	on_each_cpu(smp_ctl_bit_callback, &parms, 1);
 }
 EXPORT_SYMBOL(smp_ctl_clear_bit);
 
arch/s390/kernel/time.c +5 -5
index 7418beb..f2cede3 100644
@@ -707,7 +707,7 @@ static int etr_sync_clock(struct etr_aib *aib, int port)
 	 */
 	memset(&etr_sync, 0, sizeof(etr_sync));
 	preempt_disable();
-	smp_call_function(clock_sync_cpu_start, &etr_sync, 0, 0);
+	smp_call_function(clock_sync_cpu_start, &etr_sync, 0);
 	local_irq_disable();
 	enable_sync_clock();
 
@@ -746,7 +746,7 @@ static int etr_sync_clock(struct etr_aib *aib, int port)
 		rc = -EAGAIN;
 	}
 	local_irq_enable();
-	smp_call_function(clock_sync_cpu_end, NULL, 0, 0);
+	smp_call_function(clock_sync_cpu_end, NULL, 0);
 	preempt_enable();
 	return rc;
 }
@@ -926,7 +926,7 @@ static void etr_work_fn(struct work_struct *work)
 	if (!eacr.ea) {
 		/* Both ports offline. Reset everything. */
 		eacr.dp = eacr.es = eacr.sl = 0;
-		on_each_cpu(disable_sync_clock, NULL, 0, 1);
+		on_each_cpu(disable_sync_clock, NULL, 1);
 		del_timer_sync(&etr_timer);
 		etr_update_eacr(eacr);
 		clear_bit(CLOCK_SYNC_ETR, &clock_sync_flags);
@@ -1432,7 +1432,7 @@ static void stp_work_fn(struct work_struct *work)
 	 */
 	memset(&stp_sync, 0, sizeof(stp_sync));
 	preempt_disable();
-	smp_call_function(clock_sync_cpu_start, &stp_sync, 0, 0);
+	smp_call_function(clock_sync_cpu_start, &stp_sync, 0);
 	local_irq_disable();
 	enable_sync_clock();
 
@@ -1465,7 +1465,7 @@ static void stp_work_fn(struct work_struct *work)
 		stp_sync.in_sync = 1;
 
 	local_irq_enable();
-	smp_call_function(clock_sync_cpu_end, NULL, 0, 0);
+	smp_call_function(clock_sync_cpu_end, NULL, 0);
 	preempt_enable();
 }
 
arch/sh/Kconfig +1 -0
index 9a854c8..3e7384f 100644
@@ -688,6 +688,7 @@ config CRASH_DUMP
 config SMP
 	bool "Symmetric multi-processing support"
 	depends on SYS_SUPPORTS_SMP
+	select USE_GENERIC_SMP_HELPERS
 	---help---
 	  This enables support for systems with more than one CPU. If you have
 	  a system with only one CPU, like most personal computers, say N. If
arch/sh/kernel/smp.c +15 -47

114 lines not on this page · raw message

arch/sparc64/kernel/smp.c +5 -8
index fa63c68..c099d96 100644
@@ -807,7 +807,6 @@ extern unsigned long xcall_call_function;
  * smp_call_function(): Run a function on all other CPUs.
  * @func: The function to run. This must be fast and non-blocking.
  * @info: An arbitrary pointer to pass to the function.
- * @nonatomic: currently unused.
  * @wait: If true, wait (atomically) until function has completed on other CPUs.
  *
  * Returns 0 on success, else a negative status code. Does not return until
@@ -816,8 +815,8 @@ extern unsigned long xcall_call_function;
  * You must not call this function with disabled interrupts or from a
  * hardware interrupt handler or from a bottom half handler.
  */
-static int smp_call_function_mask(void (*func)(void *info), void *info,
-				  int nonatomic, int wait, cpumask_t mask)
+static int sparc64_smp_call_function_mask(void (*func)(void *info), void *info,
+					  int wait, cpumask_t mask)
 {
 	struct call_data_struct data;
 	int cpus;
@@ -852,11 +851,9 @@ out_unlock:
 	return 0;
 }
 
-int smp_call_function(void (*func)(void *info), void *info,
-		      int nonatomic, int wait)
+int smp_call_function(void (*func)(void *info), void *info, int wait)
 {
-	return smp_call_function_mask(func, info, nonatomic, wait,
-				      cpu_online_map);
+	return sparc64_smp_call_function_mask(func, info, wait, cpu_online_map);
 }
 
 void smp_call_function_client(int irq, struct pt_regs *regs)
@@ -893,7 +890,7 @@ static void tsb_sync(void *info)
 
 void smp_tsb_sync(struct mm_struct *mm)
 {
-	smp_call_function_mask(tsb_sync, mm, 0, 1, mm->cpu_vm_mask);
+	sparc64_smp_call_function_mask(tsb_sync, mm, 1, mm->cpu_vm_mask);
 }
 
 extern unsigned long xcall_flush_tlb_mm;
arch/sparc64/mm/hugetlbpage.c +1 -1
index 6cfab2e..ebefd2a 100644
@@ -344,7 +344,7 @@ void hugetlb_prefault_arch_hook(struct mm_struct *mm)
 			 * also executing in this address space.
 			 */
 			mm->context.sparc64_ctx_val = ctx;
-			on_each_cpu(context_reload, mm, 0, 0);
+			on_each_cpu(context_reload, mm, 0);
 		}
 		spin_unlock(&ctx_alloc_lock);
 	}
arch/um/kernel/smp.c +1 -2
index e1062ec..be2d50c 100644
@@ -214,8 +214,7 @@ void smp_call_function_slave(int cpu)
 	atomic_inc(&scf_finished);
 }
 
-int smp_call_function(void (*_func)(void *info), void *_info, int nonatomic,
-		      int wait)
+int smp_call_function(void (*_func)(void *info), void *_info, int wait)
 {
 	int cpus = num_online_cpus() - 1;
 	int i;
arch/x86/Kconfig +1 -0
index 2642b4b..96e0c2e 100644
@@ -170,6 +170,7 @@ config GENERIC_PENDING_IRQ
 config X86_SMP
 	bool
 	depends on SMP && ((X86_32 && !X86_VOYAGER) || X86_64)
+	select USE_GENERIC_SMP_HELPERS
 	default y
 
 config X86_32_SMP
arch/x86/kernel/apic_32.c +4 -0
index 3e58b67..a437d02 100644
@@ -1340,6 +1340,10 @@ void __init smp_intr_init(void)
 
 	/* IPI for generic function call */
 	alloc_intr_gate(CALL_FUNCTION_VECTOR, call_function_interrupt);
+
+	/* IPI for single call function */
+	set_intr_gate(CALL_FUNCTION_SINGLE_VECTOR,
+				call_function_single_interrupt);
 }
 #endif
 
arch/x86/kernel/cpu/mcheck/mce_64.c +3 -3
index 9874107..c4a7ec3 100644
@@ -364,7 +364,7 @@ static void mcheck_check_cpu(void *info)
 
 static void mcheck_timer(struct work_struct *work)
 {
-	on_each_cpu(mcheck_check_cpu, NULL, 1, 1);
+	on_each_cpu(mcheck_check_cpu, NULL, 1);
 
 	/*
 	 * Alert userspace if needed.  If we logged an MCE, reduce the
@@ -621,7 +621,7 @@ static ssize_t mce_read(struct file *filp, char __user *ubuf, size_t usize,
 	 * Collect entries that were still getting written before the
 	 * synchronize.
 	 */
-	on_each_cpu(collect_tscs, cpu_tsc, 1, 1);
+	on_each_cpu(collect_tscs, cpu_tsc, 1);
 	for (i = next; i < MCE_LOG_LEN; i++) {
 		if (mcelog.entry[i].finished &&
 		    mcelog.entry[i].tsc < cpu_tsc[mcelog.entry[i].cpu]) {
@@ -746,7 +746,7 @@ static void mce_restart(void)
 	if (next_interval)
 		cancel_delayed_work(&mcheck_work);
 	/* Timer race is harmless here */
-	on_each_cpu(mce_init, NULL, 1, 1);
+	on_each_cpu(mce_init, NULL, 1);
 	next_interval = check_interval * HZ;
 	if (next_interval)
 		schedule_delayed_work(&mcheck_work,
arch/x86/kernel/cpu/mcheck/non-fatal.c +1 -1
index 00ccb6c..cc1fccd 100644
@@ -59,7 +59,7 @@ static DECLARE_DELAYED_WORK(mce_work, mce_work_fn);
 
 static void mce_work_fn(struct work_struct *work)
 {
-	on_each_cpu(mce_checkregs, NULL, 1, 1);
+	on_each_cpu(mce_checkregs, NULL, 1);
 	schedule_delayed_work(&mce_work, round_jiffies_relative(MCE_RATE));
 }
 
arch/x86/kernel/cpu/mtrr/main.c +2 -2
index 105afe1..6f23969 100644
@@ -223,7 +223,7 @@ static void set_mtrr(unsigned int reg, unsigned long base,
 	atomic_set(&data.gate,0);
 
 	/*  Start the ball rolling on other CPUs  */
-	if (smp_call_function(ipi_handler, &data, 1, 0) != 0)
+	if (smp_call_function(ipi_handler, &data, 0) != 0)
 		panic("mtrr: timed out waiting for other CPUs\n");
 
 	local_irq_save(flags);
@@ -1682,7 +1682,7 @@ void mtrr_ap_init(void)
  */
 void mtrr_save_state(void)
 {
-	smp_call_function_single(0, mtrr_save_fixed_ranges, NULL, 1, 1);
+	smp_call_function_single(0, mtrr_save_fixed_ranges, NULL, 1);
 }
 
 static int __init mtrr_init_finialize(void)
arch/x86/kernel/cpu/perfctr-watchdog.c +2 -2
index 2e9bef6..6d4bdc0 100644
@@ -189,7 +189,7 @@ void disable_lapic_nmi_watchdog(void)
 	if (atomic_read(&nmi_active) <= 0)
 		return;
 
-	on_each_cpu(stop_apic_nmi_watchdog, NULL, 0, 1);
+	on_each_cpu(stop_apic_nmi_watchdog, NULL, 1);
 
 	if (wd_ops)
 		wd_ops->unreserve();
@@ -213,7 +213,7 @@ void enable_lapic_nmi_watchdog(void)
 		return;
 	}
 
-	on_each_cpu(setup_apic_nmi_watchdog, NULL, 0, 1);
+	on_each_cpu(setup_apic_nmi_watchdog, NULL, 1);
 	touch_nmi_watchdog();
 }
 
arch/x86/kernel/cpuid.c +1 -1
index 71f1c26..2de5fa2 100644
@@ -96,7 +96,7 @@ static ssize_t cpuid_read(struct file *file, char __user *buf,
 	for (; count; count -= 16) {
 		cmd.eax = pos;
 		cmd.ecx = pos >> 32;
-		smp_call_function_single(cpu, cpuid_smp_cpuid, &cmd, 1, 1);
+		smp_call_function_single(cpu, cpuid_smp_cpuid, &cmd, 1);
 		if (copy_to_user(tmp, &cmd, 16))
 			return -EFAULT;
 		tmp += 16;
arch/x86/kernel/entry_64.S +3 -0
index ba41bf4..ae63e58 100644
@@ -816,6 +816,9 @@ END(invalidate_interrupt\num)
 ENTRY(call_function_interrupt)
 	apicinterrupt CALL_FUNCTION_VECTOR,smp_call_function_interrupt
 END(call_function_interrupt)
+ENTRY(call_function_single_interrupt)
+	apicinterrupt CALL_FUNCTION_SINGLE_VECTOR,smp_call_function_single_interrupt
+END(call_function_single_interrupt)
 ENTRY(irq_move_cleanup_interrupt)
 	apicinterrupt IRQ_MOVE_CLEANUP_VECTOR,smp_irq_move_cleanup_interrupt
 END(irq_move_cleanup_interrupt)
arch/x86/kernel/io_apic_32.c +1 -1
index 603261a..558abf4 100644
@@ -1569,7 +1569,7 @@ void /*__init*/ print_local_APIC(void *dummy)
 
 void print_all_local_APICs(void)
 {
-	on_each_cpu(print_local_APIC, NULL, 1, 1);
+	on_each_cpu(print_local_APIC, NULL, 1);
 }
 
 void /*__init*/ print_PIC(void)
arch/x86/kernel/io_apic_64.c +1 -1
index b16ef02..6510cde 100644
@@ -1160,7 +1160,7 @@ void __apicdebuginit print_local_APIC(void * dummy)
 
 void print_all_local_APICs (void)
 {
-	on_each_cpu(print_local_APIC, NULL, 1, 1);
+	on_each_cpu(print_local_APIC, NULL, 1);
 }
 
 void __apicdebuginit print_PIC(void)
arch/x86/kernel/irqinit_64.c +4 -0
index 31f49e8..0373e88 100644
@@ -199,6 +199,10 @@ void __init native_init_IRQ(void)
 	/* IPI for generic function call */
 	alloc_intr_gate(CALL_FUNCTION_VECTOR, call_function_interrupt);
 
+	/* IPI for generic single function call */
+	alloc_intr_gate(CALL_FUNCTION_SINGLE_VECTOR,
+			call_function_single_interrupt);
+
 	/* Low priority IPI to cleanup after moving an irq */
 	set_intr_gate(IRQ_MOVE_CLEANUP_VECTOR, irq_move_cleanup_interrupt);
 #endif
arch/x86/kernel/ldt.c +1 -1
index 21f2bae..a844957 100644
@@ -68,7 +68,7 @@ static int alloc_ldt(mm_context_t *pc, int mincount, int reload)
 		load_LDT(pc);
 		mask = cpumask_of_cpu(smp_processor_id());
 		if (!cpus_equal(current->mm->cpu_vm_mask, mask))
-			smp_call_function(flush_ldt, current->mm, 1, 1);
+			smp_call_function(flush_ldt, current->mm, 1);
 		preempt_enable();
 #else
 		load_LDT(pc);
arch/x86/kernel/nmi.c +3 -3
index 716b892..ec024b3 100644
@@ -130,7 +130,7 @@ int __init check_nmi_watchdog(void)
 
 #ifdef CONFIG_SMP
 	if (nmi_watchdog == NMI_LOCAL_APIC)
-		smp_call_function(nmi_cpu_busy, (void *)&endflag, 0, 0);
+		smp_call_function(nmi_cpu_busy, (void *)&endflag, 0);
 #endif
 
 	for_each_possible_cpu(cpu)
@@ -272,7 +272,7 @@ static void __acpi_nmi_enable(void *__unused)
 void acpi_nmi_enable(void)
 {
 	if (atomic_read(&nmi_active) && nmi_watchdog == NMI_IO_APIC)
-		on_each_cpu(__acpi_nmi_enable, NULL, 0, 1);
+		on_each_cpu(__acpi_nmi_enable, NULL, 1);
 }
 
 static void __acpi_nmi_disable(void *__unused)
@@ -286,7 +286,7 @@ static void __acpi_nmi_disable(void *__unused)
 void acpi_nmi_disable(void)
 {
 	if (atomic_read(&nmi_active) && nmi_watchdog == NMI_IO_APIC)
-		on_each_cpu(__acpi_nmi_disable, NULL, 0, 1);
+		on_each_cpu(__acpi_nmi_disable, NULL, 1);
 }
 
 void setup_apic_nmi_watchdog(void *unused)
arch/x86/kernel/process.c +1 -1
index 4061d63..7dceea9 100644
@@ -132,7 +132,7 @@ void cpu_idle_wait(void)
 {
 	smp_mb();
 	/* kick all the CPUs so that they exit out of pm_idle */
-	smp_call_function(do_nothing, NULL, 0, 1);
+	smp_call_function(do_nothing, NULL, 1);
 }
 EXPORT_SYMBOL_GPL(cpu_idle_wait);
 
arch/x86/kernel/smp.c +20 -138

210 lines not on this page · raw message

arch/x86/kernel/smpboot.c +2 -2
index f35c2d8..687376a 100644
@@ -327,12 +327,12 @@ static void __cpuinit start_secondary(void *unused)
 	 * lock helps us to not include this cpu in a currently in progress
 	 * smp_call_function().
 	 */
-	lock_ipi_call_lock();
+	ipi_call_lock_irq();
 #ifdef CONFIG_X86_IO_APIC
 	setup_vector_irq(smp_processor_id());
 #endif
 	cpu_set(smp_processor_id(), cpu_online_map);
-	unlock_ipi_call_lock();
+	ipi_call_unlock_irq();
 	per_cpu(cpu_state, smp_processor_id()) = CPU_ONLINE;
 
 	setup_secondary_clock();
arch/x86/kernel/smpcommon.c +0 -56

59 lines not on this page · raw message

arch/x86/kernel/tlb_32.c +1 -1
index 9bb2363..fec1ece 100644
@@ -238,6 +238,6 @@ static void do_flush_tlb_all(void *info)
 
 void flush_tlb_all(void)
 {
-	on_each_cpu(do_flush_tlb_all, NULL, 1, 1);
+	on_each_cpu(do_flush_tlb_all, NULL, 1);
 }
 
arch/x86/kernel/tlb_64.c +1 -1
index 5039d0f..dcbf7a1 100644
@@ -275,5 +275,5 @@ static void do_flush_tlb_all(void *info)
 
 void flush_tlb_all(void)
 {
-	on_each_cpu(do_flush_tlb_all, NULL, 1, 1);
+	on_each_cpu(do_flush_tlb_all, NULL, 1);
 }
arch/x86/kernel/vsyscall_64.c +2 -2
index e50740d..0b8b669 100644
@@ -279,7 +279,7 @@ cpu_vsyscall_notifier(struct notifier_block *n, unsigned long action, void *arg)
 {
 	long cpu = (long)arg;
 	if (action == CPU_ONLINE || action == CPU_ONLINE_FROZEN)
-		smp_call_function_single(cpu, cpu_vsyscall_init, NULL, 0, 1);
+		smp_call_function_single(cpu, cpu_vsyscall_init, NULL, 1);
 	return NOTIFY_DONE;
 }
 
@@ -302,7 +302,7 @@ static int __init vsyscall_init(void)
 #ifdef CONFIG_SYSCTL
 	register_sysctl_table(kernel_root_table2);
 #endif
-	on_each_cpu(cpu_vsyscall_init, NULL, 0, 1);
+	on_each_cpu(cpu_vsyscall_init, NULL, 1);
 	hotcpu_notifier(cpu_vsyscall_notifier, 0);
 	return 0;
 }
arch/x86/kvm/vmx.c +2 -2
index 540e951..10ce6ee 100644
@@ -335,7 +335,7 @@ static void vcpu_clear(struct vcpu_vmx *vmx)
 {
 	if (vmx->vcpu.cpu == -1)
 		return;
-	smp_call_function_single(vmx->vcpu.cpu, __vcpu_clear, vmx, 0, 1);
+	smp_call_function_single(vmx->vcpu.cpu, __vcpu_clear, vmx, 1);
 	vmx->launched = 0;
 }
 
@@ -2968,7 +2968,7 @@ static void vmx_free_vmcs(struct kvm_vcpu *vcpu)
 	struct vcpu_vmx *vmx = to_vmx(vcpu);
 
 	if (vmx->vmcs) {
-		on_each_cpu(__vcpu_clear, vmx, 0, 1);
+		on_each_cpu(__vcpu_clear, vmx, 1);
 		free_vmcs(vmx->vmcs);
 		vmx->vmcs = NULL;
 	}
arch/x86/kvm/x86.c +1 -1
index 63a77ca..0faa254 100644
@@ -4044,6 +4044,6 @@ void kvm_vcpu_kick(struct kvm_vcpu *vcpu)
 	 * So need not to call smp_call_function_single() in that case.
 	 */
 	if (vcpu->guest_mode && vcpu->cpu != cpu)
-		smp_call_function_single(ipi_pcpu, vcpu_kick_intr, vcpu, 0, 0);
+		smp_call_function_single(ipi_pcpu, vcpu_kick_intr, vcpu, 0);
 	put_cpu();
 }
arch/x86/lib/msr-on-cpu.c +4 -4
index 57d043f..d5a2b39 100644
@@ -30,10 +30,10 @@ static int _rdmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h, int safe)
 
 	rv.msr_no = msr_no;
 	if (safe) {
-		smp_call_function_single(cpu, __rdmsr_safe_on_cpu, &rv, 0, 1);
+		smp_call_function_single(cpu, __rdmsr_safe_on_cpu, &rv, 1);
[… more lines in the raw message]

Lines of this file are not shown. View the raw message.

arch/x86/mach-voyager/voyager_smp.c +19 -79

98 lines not on this page · raw message

arch/x86/mm/pageattr.c +2 -2
index 47f4e2e..65c6e46 100644

Lines of this file are not shown. View the raw message.

arch/x86/oprofile/nmi_int.c +5 -5
index 2b6ad5b..7f3329b 100644

Lines of this file are not shown. View the raw message.

arch/x86/pci/amd_bus.c +1 -1
index a18141a..dbf5323 100644

Lines of this file are not shown. View the raw message.

arch/x86/xen/enlighten.c +3 -1
index dcd4e51..bb50845 100644

Lines of this file are not shown. View the raw message.

arch/x86/xen/mmu.c +1 -1
index 42b3b9e..ff0aa74 100644

Lines of this file are not shown. View the raw message.

arch/x86/xen/smp.c +47 -88

135 lines not on this page · raw message

arch/x86/xen/xen-ops.h +2 -7
index d852ddb..6f4b104 100644

Lines of this file are not shown. View the raw message.

drivers/acpi/processor_idle.c +1 -1
index 556ee15..4976e5d 100644

Lines of this file are not shown. View the raw message.

drivers/char/agp/generic.c +1 -1
index 564daaa..eaa1a35 100644

Lines of this file are not shown. View the raw message.

drivers/char/sysrq.c +1 -1
index dbce126..8fdfe9c 100644

Lines of this file are not shown. View the raw message.

drivers/cpuidle/cpuidle.c +1 -1
index 23554b6..5405769 100644

Lines of this file are not shown. View the raw message.

drivers/lguest/x86/core.c +2 -2
index 2e554a4..95dfda5 100644

Lines of this file are not shown. View the raw message.

drivers/watchdog/booke_wdt.c +3 -3
index c1ba0db..7708244 100644

Lines of this file are not shown. View the raw message.

fs/buffer.c +1 -1
index 5fa1512..d48caee 100644

Lines of this file are not shown. View the raw message.

include/asm-alpha/smp.h +3 -2
index 286e1d8..544c69a 100644

Lines of this file are not shown. View the raw message.

include/asm-arm/smp.h +3 -0
index af99636..7fffa24 100644

Lines of this file are not shown. View the raw message.

include/asm-ia64/smp.h +3 -5
index ec5f355..27731e0 100644

Lines of this file are not shown. View the raw message.

include/asm-m32r/smp.h +4 -0
index 078e1a5..c5dd669 100644

Lines of this file are not shown. View the raw message.

include/asm-mips/smp.h +3 -10
index 84fef1a..0ff5b52 100644

Lines of this file are not shown. View the raw message.

include/asm-parisc/smp.h +3 -0
index 306f495..398cdba 100644

Lines of this file are not shown. View the raw message.

include/asm-powerpc/smp.h +4 -4
index 505f35b..c663a1f 100644

Lines of this file are not shown. View the raw message.

include/asm-sh/smp.h +4 -10
index 9c8d34b..593343c 100644

Lines of this file are not shown. View the raw message.

include/asm-sparc/smp.h +1 -1
index e6d5615..b61e74b 100644

Lines of this file are not shown. View the raw message.

include/asm-x86/hw_irq.h +1 -0
index 18f067c..77ba51d 100644

Lines of this file are not shown. View the raw message.

include/asm-x86/irq_vectors.h +5 -1
index 0ac864e..90b1d1f 100644

Lines of this file are not shown. View the raw message.

include/asm-x86/mach-default/entry_arch.h +1 -0
index bc86146..9283b60 100644

Lines of this file are not shown. View the raw message.

include/asm-x86/mach-visws/entry_arch.h +2 -20
index b183fa6..86be554 100644

Lines of this file are not shown. View the raw message.

include/asm-x86/mach-voyager/entry_arch.h +1 -1
index 4a1e1e8..ae52624 100644

Lines of this file are not shown. View the raw message.

include/asm-x86/smp.h +12 -9
index 2e221f1..c2784b3 100644

Lines of this file are not shown. View the raw message.

include/asm-x86/xen/events.h +1 -0
index 596312a..f8d57ea 100644

Lines of this file are not shown. View the raw message.

include/linux/smp.h +38 -8

46 lines not on this page · raw message

init/main.c +2 -0
index f7fb200..1efcccf 100644

Lines of this file are not shown. View the raw message.

kernel/Makefile +1 -0
index f6328e1..0a7ed83 100644

Lines of this file are not shown. View the raw message.

kernel/hrtimer.c +1 -1
index 2913a8b..b8e4dce 100644

Lines of this file are not shown. View the raw message.

kernel/profile.c +3 -3
index ae7ead8..5892641 100644

Lines of this file are not shown. View the raw message.

kernel/rcupdate.c +1 -1
index c09605f..6addab5 100644

Lines of this file are not shown. View the raw message.

kernel/smp.c new file +381 -0

381 lines not on this page · raw message

kernel/softirq.c +2 -2
index 3e9e896..81e2fe0 100644

Lines of this file are not shown. View the raw message.

kernel/time/tick-broadcast.c +1 -1
index 67f80c2..f48d0f0 100644

Lines of this file are not shown. View the raw message.

mm/page_alloc.c +1 -1
index f024b9b..79ac4af 100644

Lines of this file are not shown. View the raw message.

mm/slab.c +2 -2
index b4aa4c8..052e7d6 100644

Lines of this file are not shown. View the raw message.

mm/slub.c +1 -1
index 488400d..35ab38a 100644

Lines of this file are not shown. View the raw message.

net/core/flow.c +1 -1
index 1999117..5cf8105 100644

Lines of this file are not shown. View the raw message.

net/iucv/iucv.c +8 -8
index 7f82b76..cc34ac7 100644

Lines of this file are not shown. View the raw message.

virt/kvm/kvm_main.c +7 -7
index 2d29e26..d4eae6a 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.