From: Thomas Gleixner Date: Fri, 5 Dec 2014 08:48:29 +0000 (+0000) Subject: x86, smpboot: Remove pointless preempt_disable() in native_smp_prepare_cpus() X-Git-Tag: omap-for-v3.19/fixes-rc1~23^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=250a1ac685f147d4f4b2f132cfaffcce1a6792c1;p=pandora-kernel.git 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 Tested-by: Borislav Petkov Cc: Jiang Liu Cc: Joerg Roedel Cc: x86@kernel.org Link: http://lkml.kernel.org/r/20141205084147.153643952@linutronix.de Signed-off-by: Thomas Gleixner --- Reading git-diff-tree failed