diff options
| author | Tejun Heo <[email protected]> | 2024-09-27 23:46:11 +0000 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2024-10-07 20:16:18 +0000 |
| commit | b62933eee41e2909422c2c3d7fdb56217913faf9 (patch) | |
| tree | f26475ccdff918a5ac055834c006926f88a3cb8d /rust/helpers/mutex.c | |
| parent | sched_ext: scx_cgroup_exit() may be called without successful scx_cgroup_init() (diff) | |
| download | kernel-b62933eee41e2909422c2c3d7fdb56217913faf9.tar.gz kernel-b62933eee41e2909422c2c3d7fdb56217913faf9.zip | |
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]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions
