aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAlexander Kuleshov <[email protected]>2016-11-28 07:50:57 +0000
committerThomas Gleixner <[email protected]>2017-02-04 08:36:59 +0000
commit07d495dae20717b00881798ef812f7aa53ca0eb3 (patch)
tree1971fa9711049b5f90653cfc9fc940722466f50f /net/unix/af_unix.c
parentx86/pci-calgary: Fix iommu_free() comparison of unsigned expression >= 0 (diff)
downloadkernel-07d495dae20717b00881798ef812f7aa53ca0eb3.tar.gz
kernel-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 <[email protected]> Cc: Tony Luck <[email protected]> Cc: Jianyu Zhan <[email protected]> Cc: Paul Gortmaker <[email protected]> Cc: Andy Lutomirski <[email protected]> Cc: Borislav Petkov <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions