aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/smp.h
diff options
context:
space:
mode:
authorRik van Riel <riel@surriel.com>2018-09-25 23:58:39 -0400
committerPeter Zijlstra <peterz@infradead.org>2018-10-09 16:51:11 +0200
commit12c4d978fd170ccdd7260ec11f93b11e46904228 (patch)
tree83cce60274d21dd588f595ad211b02d0c9e7acac /include/linux/smp.h
parentx86/mm/tlb: Always use lazy TLB mode (diff)
downloadlinux-dev-12c4d978fd170ccdd7260ec11f93b11e46904228.tar.xz
linux-dev-12c4d978fd170ccdd7260ec11f93b11e46904228.zip
x86/mm/tlb: Restructure switch_mm_irqs_off()
Move some code that will be needed for the lazy -> !lazy state transition when a lazy TLB CPU has gotten out of date. No functional changes, since the if (real_prev == next) branch always returns. (cherry picked from commit 61d0beb5796ab11f7f3bf38cb2eccc6579aaa70b) Cc: npiggin@gmail.com Cc: efault@gmx.de Cc: will.deacon@arm.com Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: songliubraving@fb.com Cc: kernel-team@fb.com Cc: hpa@zytor.com Suggested-by: Andy Lutomirski <luto@kernel.org> Signed-off-by: Rik van Riel <riel@surriel.com> Acked-by: Dave Hansen <dave.hansen@intel.com> Signed-off-by: Ingo Molnar <mingo@kernel.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Link: http://lkml.kernel.org/r/20180716190337.26133-4-riel@surriel.com
Diffstat (limited to 'include/linux/smp.h')
0 files changed, 0 insertions, 0 deletions