summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/processor_core.c
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2014-12-05 08:48:29 +0000
committerThomas Gleixner <tglx@linutronix.de>2014-12-16 14:08:14 +0100
commit250a1ac685f147d4f4b2f132cfaffcce1a6792c1 (patch)
treef48cae7b41ac77b5966f614393f4fca5c6a4f9e3 /drivers/acpi/processor_core.c
parent5db66334a7e83cda70fb6193dcaa2590da3a1b7d (diff)
downloadlinux-stable-250a1ac685f147d4f4b2f132cfaffcce1a6792c1.tar.gz
linux-stable-250a1ac685f147d4f4b2f132cfaffcce1a6792c1.tar.bz2
linux-stable-250a1ac685f147d4f4b2f132cfaffcce1a6792c1.zip
x86, smpboot: Remove pointless preempt_disable() in native_smp_prepare_cpus()
There is no reason to keep preemption disabled in this function. We only have two other threads live: kthreadd and idle. Neither of them is going to preempt. But that preempt_disable forces all the code inside to do GFP_ATOMIC allocations which is just insane. Remove it. Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Tested-by: Borislav Petkov <bp@alien8.de> Cc: Jiang Liu <jiang.liu@linux.intel.com> Cc: Joerg Roedel <joro@8bytes.org> Cc: x86@kernel.org Link: http://lkml.kernel.org/r/20141205084147.153643952@linutronix.de Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'drivers/acpi/processor_core.c')
0 files changed, 0 insertions, 0 deletions