Commit b62933e
committed
sched/core: Make select_task_rq() take the pointer to wake_flags instead of value
This will be used to allow select_task_rq() to indicate whether
->select_task_rq() was called by modifying *wake_flags.
This makes try_to_wake_up() call all functions that take wake_flags with
WF_TTWU set. Previously, only select_task_rq() was. Using the same flags is
more consistent, and, as the flag is only tested by ->select_task_rq()
implementations, it doesn't cause any behavior differences.
Signed-off-by: Tejun Heo <[email protected]>
Acked-by: David Vernet <[email protected]>1 parent ec01033 commit b62933e
1 file changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3518 | 3518 | | |
3519 | 3519 | | |
3520 | 3520 | | |
3521 | | - | |
| 3521 | + | |
3522 | 3522 | | |
3523 | 3523 | | |
3524 | 3524 | | |
3525 | 3525 | | |
3526 | | - | |
| 3526 | + | |
3527 | 3527 | | |
3528 | 3528 | | |
3529 | 3529 | | |
| |||
4120 | 4120 | | |
4121 | 4121 | | |
4122 | 4122 | | |
| 4123 | + | |
| 4124 | + | |
4123 | 4125 | | |
4124 | 4126 | | |
4125 | 4127 | | |
| |||
4252 | 4254 | | |
4253 | 4255 | | |
4254 | 4256 | | |
4255 | | - | |
| 4257 | + | |
4256 | 4258 | | |
4257 | 4259 | | |
4258 | 4260 | | |
| |||
4793 | 4795 | | |
4794 | 4796 | | |
4795 | 4797 | | |
| 4798 | + | |
4796 | 4799 | | |
4797 | 4800 | | |
4798 | 4801 | | |
| |||
4807 | 4810 | | |
4808 | 4811 | | |
4809 | 4812 | | |
4810 | | - | |
| 4813 | + | |
4811 | 4814 | | |
4812 | 4815 | | |
4813 | 4816 | | |
4814 | 4817 | | |
4815 | 4818 | | |
4816 | 4819 | | |
4817 | 4820 | | |
4818 | | - | |
| 4821 | + | |
4819 | 4822 | | |
4820 | 4823 | | |
4821 | 4824 | | |
| |||
0 commit comments