]> Git Repo - linux.git/commit - init/init_task.c
sched/preempt: Use CONFIG_PREEMPTION where appropriate
authorThomas Gleixner <[email protected]>
Fri, 26 Jul 2019 21:19:37 +0000 (23:19 +0200)
committerIngo Molnar <[email protected]>
Wed, 31 Jul 2019 17:03:34 +0000 (19:03 +0200)
commitc1a280b68d4e6b6db4a65aa7865c22d8789ddf09
tree24c5d965843b44cbe654f5bde0cc68583e3e3321
parent2a11c76e5301dddefcb618dac04f74e6314df6bc
sched/preempt: Use CONFIG_PREEMPTION where appropriate

CONFIG_PREEMPTION is selected by CONFIG_PREEMPT and by
CONFIG_PREEMPT_RT. Both PREEMPT and PREEMPT_RT require the same
functionality which today depends on CONFIG_PREEMPT.

Switch the preemption code, scheduler and init task over to use
CONFIG_PREEMPTION.

That's the first step towards RT in that area. The more complex changes are
coming separately.

Signed-off-by: Thomas Gleixner <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Masami Hiramatsu <[email protected]>
Cc: Paolo Bonzini <[email protected]>
Cc: Paul E. McKenney <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Steven Rostedt <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
include/asm-generic/preempt.h
include/linux/preempt.h
include/linux/sched.h
init/init_task.c
init/main.c
kernel/sched/core.c
kernel/sched/fair.c
kernel/sched/sched.h
This page took 0.060616 seconds and 4 git commands to generate.