]> Git Repo - linux.git/commit
sched/core: Add preempt argument to __schedule()
authorPeter Zijlstra <[email protected]>
Mon, 28 Sep 2015 16:05:34 +0000 (18:05 +0200)
committerIngo Molnar <[email protected]>
Tue, 6 Oct 2015 15:08:15 +0000 (17:08 +0200)
commitfc13aebab7d8f0d19d557c721a0f25cdf7ae905c
treec744211cc93f060f5ddb732288d6aef10b033baa
parent609ca066386b2e64d4c0b0f55da327654962a0c9
sched/core: Add preempt argument to __schedule()

There is only a single PREEMPT_ACTIVE use in the regular __schedule()
path and that is to circumvent the task->state check. Since the code
setting PREEMPT_ACTIVE is the immediate caller of __schedule() we can
replace this with a function argument.

Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Reviewed-by: Thomas Gleixner <[email protected]>
Reviewed-by: Frederic Weisbecker <[email protected]>
Reviewed-by: Steven Rostedt <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Mike Galbraith <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: [email protected]
Signed-off-by: Ingo Molnar <[email protected]>
kernel/sched/core.c
This page took 0.05458 seconds and 4 git commands to generate.