]> git.ipfire.org Git - people/arne_f/kernel.git/commit
sched/core: Add switch_mm_irqs_off() and use it in the scheduler
authorAndy Lutomirski <luto@kernel.org>
Tue, 26 Apr 2016 16:39:06 +0000 (09:39 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Sun, 7 Jan 2018 01:46:47 +0000 (01:46 +0000)
commit45f6717d45e509f4d1ebfbcd12ab52ae736b95be
tree199bc30bfeb30aa9777c41fb8b94871716d3098f
parent7c125fbe719ca8a40b4766774e001f71f858fa35
sched/core: Add switch_mm_irqs_off() and use it in the scheduler

commit f98db6013c557c216da5038d9c52045be55cd039 upstream.

By default, this is the same thing as switch_mm().

x86 will override it as an optimization.

Signed-off-by: Andy Lutomirski <luto@kernel.org>
Reviewed-by: Borislav Petkov <bp@suse.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/df401df47bdd6be3e389c6f1e3f5310d70e81b2c.1461688545.git.luto@kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Hugh Dickins <hughd@google.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
include/linux/mmu_context.h
kernel/sched.c