]> git.karo-electronics.de Git - karo-tx-linux.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)
committerIngo Molnar <mingo@kernel.org>
Thu, 28 Apr 2016 09:44:19 +0000 (11:44 +0200)
commitf98db6013c557c216da5038d9c52045be55cd039
treeadd571696b617410646e8fe4e7718f165c3a56bd
parent8efd755ac2fe262d4c8d5c9bbe054bb67dae93da
sched/core: Add switch_mm_irqs_off() and use it in the scheduler

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>
include/linux/mmu_context.h
kernel/sched/core.c