+ kernel-remove-config_use_generic_smp_helpers.patch added to -mm tree
Subsystems (13)
Subject: + kernel-remove-config_use_generic_smp_helpers.patch added to -mm tree
To: [email protected],[email protected],[email protected],[email protected]
From: [email protected]
Date: Fri, 01 Nov 2013 14:58:15 -0700
The patch titled
Subject: kernel: remove CONFIG_USE_GENERIC_SMP_HELPERS
has been added to the -mm tree. Its filename is
kernel-remove-config_use_generic_smp_helpers.patch
This patch should soon appear at
http://ozlabs.org/~akpm/mmots/broken-out/kernel-remove-config_use_generic_smp_helpers.patch
and later at
http://ozlabs.org/~akpm/mmotm/broken-out/kernel-remove-config_use_generic_smp_helpers.patch
Before you just go and hit "reply", please:
a) Consider who else should be cc'ed
b) Prefer to cc a suitable mailing list as well
c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's
*** Remember to use Documentation/SubmitChecklist when testing your code ***
The -mm tree is included into linux-next and is updated there every 3-4 working days
------------------------------------------------------
From: Christoph Hellwig <[email protected]>
Subject: kernel: remove CONFIG_USE_GENERIC_SMP_HELPERS
We've switched over every architecture that supports SMP to it, so remove the new useless config variable.
---
arch/Kconfig | 3 --- arch/alpha/Kconfig | 1 - arch/arc/Kconfig | 1 - arch/arm/Kconfig | 1 - arch/arm64/Kconfig | 1 - arch/blackfin/Kconfig | 1 - arch/hexagon/Kconfig | 1 - arch/ia64/Kconfig | 1 - arch/m32r/Kconfig | 1 - arch/metag/Kconfig | 1 - arch/mips/Kconfig | 1 - arch/mn10300/Kconfig | 1 - arch/parisc/Kconfig | 1 - arch/powerpc/Kconfig | 1 - arch/s390/Kconfig | 1 - arch/sh/Kconfig | 1 - arch/sparc/Kconfig | 1 - arch/tile/Kconfig | 1 - arch/x86/Kconfig | 1 - block/blk-mq.c | 4 ++-- block/blk-softirq.c | 4 ++-- block/blk-sysfs.c | 2 +- include/linux/smp.h | 4 ---- kernel/Kconfig.hz | 2 +- kernel/smp.c | 2 -- 25 files changed, 6 insertions(+), 33 deletions(-)
arch/Kconfig renamed from arch/Kconfig~kernel-remove-config_use_generic_smp_helpers +0 -3
@@ -207,9 +207,6 @@ config HAVE_DMA_ATTRS config HAVE_DMA_CONTIGUOUS bool -config USE_GENERIC_SMP_HELPERS - bool - config GENERIC_SMP_IDLE_THREAD bool
arch/alpha/Kconfig renamed from arch/alpha/Kconfig~kernel-remove-config_use_generic_smp_helpers +0 -1
@@ -523,7 +523,6 @@ 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/arc/Kconfig renamed from arch/arc/Kconfig~kernel-remove-config_use_generic_smp_helpers +0 -1
@@ -125,7 +125,6 @@ config ARC_PLAT_NEEDS_CPU_TO_DMA config SMP bool "Symmetric Multi-Processing (Incomplete)" default n - 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/Kconfig renamed from arch/arm/Kconfig~kernel-remove-config_use_generic_smp_helpers +0 -1
@@ -1433,7 +1433,6 @@ config SMP depends on GENERIC_CLOCKEVENTS depends on HAVE_SMP depends on MMU || ARM_MPU - 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/arm64/Kconfig renamed from arch/arm64/Kconfig~kernel-remove-config_use_generic_smp_helpers +0 -1
@@ -147,7 +147,6 @@ config CPU_BIG_ENDIAN config SMP bool "Symmetric Multi-Processing" - select USE_GENERIC_SMP_HELPERS help This enables support for systems with more than one CPU. If you say N here, the kernel will run on single and
arch/blackfin/Kconfig renamed from arch/blackfin/Kconfig~kernel-remove-config_use_generic_smp_helpers +0 -1
@@ -34,7 +34,6 @@ config BLACKFIN select ARCH_WANT_IPC_PARSE_VERSION select GENERIC_ATOMIC64 select GENERIC_IRQ_PROBE - select USE_GENERIC_SMP_HELPERS if SMP select HAVE_NMI_WATCHDOG if NMI_WATCHDOG select GENERIC_SMP_IDLE_THREAD select ARCH_USES_GETTIMEOFFSET if !GENERIC_CLOCKEVENTS
arch/hexagon/Kconfig renamed from arch/hexagon/Kconfig~kernel-remove-config_use_generic_smp_helpers +0 -1
@@ -4,7 +4,6 @@ comment "Linux Kernel Configuration for config HEXAGON def_bool y select HAVE_OPROFILE - select USE_GENERIC_SMP_HELPERS if SMP # Other pending projects/to-do items. # select HAVE_REGS_AND_STACK_ACCESS_API # select HAVE_HW_BREAKPOINT if PERF_EVENTS
arch/ia64/Kconfig renamed from arch/ia64/Kconfig~kernel-remove-config_use_generic_smp_helpers +0 -1
@@ -344,7 +344,6 @@ config FORCE_MAX_ZONEORDER 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/m32r/Kconfig renamed from arch/m32r/Kconfig~kernel-remove-config_use_generic_smp_helpers +0 -1
@@ -275,7 +275,6 @@ source "kernel/Kconfig.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/metag/Kconfig renamed from arch/metag/Kconfig~kernel-remove-config_use_generic_smp_helpers +0 -1
@@ -111,7 +111,6 @@ config METAG_META21 config SMP bool "Symmetric multi-processing support" depends on METAG_META21 && METAG_META21_MMU - select USE_GENERIC_SMP_HELPERS help This enables support for systems with more than one thread running Linux. If you have a system with only one thread running Linux,
arch/mips/Kconfig renamed from arch/mips/Kconfig~kernel-remove-config_use_generic_smp_helpers +0 -1
@@ -2126,7 +2126,6 @@ source "mm/Kconfig" config SMP bool "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/mn10300/Kconfig renamed from arch/mn10300/Kconfig~kernel-remove-config_use_generic_smp_helpers +0 -1
@@ -181,7 +181,6 @@ endmenu config SMP bool "Symmetric multi-processing support" default y - select USE_GENERIC_SMP_HELPERS depends on MN10300_PROC_MN2WS0038 || MN10300_PROC_MN2WS0050 ---help--- This enables support for systems with more than one CPU. If you have
arch/parisc/Kconfig renamed from arch/parisc/Kconfig~kernel-remove-config_use_generic_smp_helpers +0 -1
@@ -227,7 +227,6 @@ 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/powerpc/Kconfig renamed from arch/powerpc/Kconfig~kernel-remove-config_use_generic_smp_helpers +0 -1
@@ -107,7 +107,6 @@ config PPC select HAVE_MEMBLOCK_NODE_MAP select HAVE_DMA_ATTRS select HAVE_DMA_API_DEBUG - select USE_GENERIC_SMP_HELPERS if SMP select HAVE_OPROFILE select HAVE_DEBUG_KMEMLEAK select GENERIC_ATOMIC64 if PPC32
arch/s390/Kconfig renamed from arch/s390/Kconfig~kernel-remove-config_use_generic_smp_helpers +0 -1
@@ -141,7 +141,6 @@ config S390 select OLD_SIGACTION select OLD_SIGSUSPEND3 select SYSCTL_EXCEPTION_TRACE - select USE_GENERIC_SMP_HELPERS if SMP select VIRT_CPU_ACCOUNTING select VIRT_TO_BUS
arch/sh/Kconfig renamed from arch/sh/Kconfig~kernel-remove-config_use_generic_smp_helpers +0 -1
@@ -712,7 +712,6 @@ config CC_STACKPROTECTOR 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/sparc/Kconfig renamed from arch/sparc/Kconfig~kernel-remove-config_use_generic_smp_helpers +0 -1
@@ -29,7 +29,6 @@ config SPARC select HAVE_ARCH_JUMP_LABEL select GENERIC_IRQ_SHOW select ARCH_WANT_IPC_PARSE_VERSION - select USE_GENERIC_SMP_HELPERS if SMP select GENERIC_PCI_IOMAP select HAVE_NMI_WATCHDOG if SPARC64 select HAVE_BPF_JIT
arch/tile/Kconfig renamed from arch/tile/Kconfig~kernel-remove-config_use_generic_smp_helpers +0 -1
@@ -8,7 +8,6 @@ config TILE select HAVE_KVM if !TILEGX select GENERIC_FIND_FIRST_BIT select SYSCTL_EXCEPTION_TRACE - select USE_GENERIC_SMP_HELPERS select CC_OPTIMIZE_FOR_SIZE select HAVE_DEBUG_KMEMLEAK select GENERIC_IRQ_PROBE
arch/x86/Kconfig renamed from arch/x86/Kconfig~kernel-remove-config_use_generic_smp_helpers +0 -1
@@ -91,7 +91,6 @@ config X86 select GENERIC_IRQ_SHOW select GENERIC_CLOCKEVENTS_MIN_ADJUST select IRQ_FORCED_THREADING - select USE_GENERIC_SMP_HELPERS if SMP select HAVE_BPF_JIT if X86_64 select HAVE_ARCH_TRANSPARENT_HUGEPAGE select CLKEVT_I8253
block/blk-mq.c renamed from block/blk-mq.c~kernel-remove-config_use_generic_smp_helpers +2 -2
@@ -319,7 +319,7 @@ void __blk_mq_end_io(struct request *rq,blk_mq_complete_request (rq, error); } -#if defined(CONFIG_SMP ) && defined(CONFIG_USE_GENERIC_SMP_HELPERS ) +#if defined(CONFIG_SMP )/* * Called with interrupts disabled.
@@ -361,7 +361,7 @@ static int ipi_remote_cpu(struct blk_mq_ return true; } -#else /* CONFIG_SMP && CONFIG_USE_GENERIC_SMP_HELPERS */ +#else /* CONFIG_SMP */ static int ipi_remote_cpu (struct blk_mq_ctx *ctx,const int cpu,struct request *rq,const int error) {
block/blk-softirq.c renamed from block/blk-softirq.c~kernel-remove-config_use_generic_smp_helpers +2 -2
@@ -36,7 +36,7 @@ static void blk_done_softirq(struct soft } } -#if defined(CONFIG_SMP ) && defined(CONFIG_USE_GENERIC_SMP_HELPERS ) +#ifdef CONFIG_SMP static void trigger_softirq (void *data) {struct request *rq = data;
@@ -71,7 +71,7 @@ static int raise_blk_irq(int cpu, struct return 1; } -#else /* CONFIG_SMP && CONFIG_USE_GENERIC_SMP_HELPERS */ +#else /* CONFIG_SMP */ static int raise_blk_irq (int cpu,struct request *rq) {return 1 ;
block/blk-sysfs.c renamed from block/blk-sysfs.c~kernel-remove-config_use_generic_smp_helpers +1 -1
@@ -288,7 +288,7 @@ static ssize_t queue_rq_affinity_store(struct request_queue *q, const char *page, size_t count) { ssize_t ret = -EINVAL; -#if defined(CONFIG_USE_GENERIC_SMP_HELPERS ) +#ifdef CONFIG_SMP unsigned long val; ret =queue_var_store (&val, page, count);
include/linux/smp.h renamed from include/linux/smp.h~kernel-remove-config_use_generic_smp_helpers +0 -4
@@ -106,14 +106,10 @@ void kick_all_cpus_sync(void);/* * Generic and arch helpers */ -#ifdef CONFIG_USE_GENERIC_SMP_HELPERS void __init call_function_init (void );void generic_smp_call_function_single_interrupt (void );#define generic_smp_call_function_interrupt \ generic_smp_call_function_single_interrupt -#else -static inline void call_function_init (void ) { } -#endif /* * Mark the boot cpu "online" so that it can call console drivers in
kernel/Kconfig.hz renamed from kernel/Kconfig.hz~kernel-remove-config_use_generic_smp_helpers +1 -1
@@ -55,4 +55,4 @@ config HZ default 1000 if HZ_1000 config SCHED_HRTICK - def_bool HIGH_RES_TIMERS && (!SMP || USE_GENERIC_SMP_HELPERS) + def_bool HIGH_RES_TIMERS
kernel/smp.c renamed from kernel/smp.c~kernel-remove-config_use_generic_smp_helpers +0 -2
@@ -15,7 +15,6 @@#include "smpboot.h" -#ifdef CONFIG_USE_GENERIC_SMP_HELPERS enum {CSD_FLAG_LOCK =0x01 ,CSD_FLAG_WAIT =0x02 ,
@@ -464,7 +463,6 @@ int smp_call_function(smp_call_func_t fureturn 0 ; }EXPORT_SYMBOL (smp_call_function); -#endif /* USE_GENERIC_SMP_HELPERS */ /* Setup configured maximum number of CPUs to activate */ unsigned int setup_max_cpus =NR_CPUS ;
_
Patches currently in -mm which might be from [email protected] are
hfsplus-add-metadata-files-clump-size-calculation-functionality.patch hfsplus-implement-attributes-files-header-node-initialization-code.patch hfsplus-implement-attributes-files-header-node-initialization-code-v2.patch hfsplus-implement-attributes-file-creation-functionality.patch hfsplus-implement-attributes-file-creation-functionality-v2.patch linux-next.patch revert-softirq-add-support-for-triggering-softirq-work-on-softirqs.patch kernel-remove-config_use_generic_smp_helpers.patch kernel-provide-a-__smp_call_function_single-stub-for-config_smp.patch kernel-fix-generic_exec_single-indication.patch llists-move-llist_reverse_order-from-raid5-to-llistc.patch kernel-use-lockless-list-for-smp_call_function_single.patch blk-mq-use-__smp_call_function_single-directly.patch