diff options
| author | Tejun Heo <tj@kernel.org> | 2026-03-06 20:58:03 +0300 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-03-06 20:58:03 +0300 |
| commit | 5c8d98a1b4de444709f7d2b7cee3d0ea00c581a2 (patch) | |
| tree | 489235eae66cd078cbd468fe4e373b4f0d03007b /include/linux/workqueue_api.h | |
| parent | ff06f727a9412b3c9f2f13f1441a5a0d2a31366b (diff) | |
| download | linux-5c8d98a1b4de444709f7d2b7cee3d0ea00c581a2.tar.xz | |
sched_ext: Move bypass state into scx_sched
In preparation of multiple scheduler support, make bypass state
per-scx_sched. Move scx_bypass_depth, bypass_timestamp and bypass_lb_timer
from globals into scx_sched. Move SCX_RQ_BYPASSING from rq to scx_sched_pcpu
as SCX_SCHED_PCPU_BYPASSING.
scx_bypass() now takes @sch and scx_rq_bypassing(rq) is replaced with
scx_bypassing(sch, cpu). All callers updated.
scx_bypassed_for_enable existed to balance the global scx_bypass_depth when
enable failed. Now that bypass_depth is per-scheduler, the counter is
destroyed along with the scheduler on enable failure. Remove
scx_bypassed_for_enable.
As all tasks currently use the root scheduler, there's no observable behavior
change.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions
