summaryrefslogtreecommitdiffstats
path: root/tools/arch/x86/include/asm/cpufeatures.h
diff options
context:
space:
mode:
authorAlexander Kuleshov <kuleshovmail@gmail.com>2016-11-28 13:50:57 +0600
committerThomas Gleixner <tglx@linutronix.de>2017-02-04 09:36:59 +0100
commit07d495dae20717b00881798ef812f7aa53ca0eb3 (patch)
tree1971fa9711049b5f90653cfc9fc940722466f50f /tools/arch/x86/include/asm/cpufeatures.h
parent68dee8e2f2cacc54d038394e70d22411dee89da2 (diff)
downloadtalos-obmc-linux-07d495dae20717b00881798ef812f7aa53ca0eb3.tar.gz
talos-obmc-linux-07d495dae20717b00881798ef812f7aa53ca0eb3.zip
x86/traps: Get rid of unnecessary preempt_disable/preempt_enable_no_resched
Exception handlers which may run on IST stack call ist_enter() at the start of execution and ist_exit() in the end. ist_enter() disables preemption unconditionally and ist_exit() enables it. So the extra preempt_disable/enable() pairs nested inside the ist_enter/exit() regions are pointless and can be removed. Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com> Cc: Tony Luck <tony.luck@intel.com> Cc: Jianyu Zhan <nasa4836@gmail.com> Cc: Paul Gortmaker <paul.gortmaker@windriver.com> Cc: Andy Lutomirski <luto@kernel.org> Cc: Borislav Petkov <bp@suse.de> Link: http://lkml.kernel.org/r/20161128075057.7724-1-kuleshovmail@gmail.com Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'tools/arch/x86/include/asm/cpufeatures.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud