diff options
author | Tejun Heo <tj@kernel.org> | 2025-02-08 20:39:11 -1000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2025-02-08 20:39:11 -1000 |
commit | 26176116d931621fd96bcef15e7b42a9ddf524da (patch) | |
tree | 7d281c670bbda8ae59a95b3c7aca12681e9d30a0 /scripts/lib/kdoc/kdoc_parser.py | |
parent | 46a0e1615886b87bdb18cf3f29bf494a30aafc01 (diff) |
sched_ext: Count SCX_EV_DISPATCH_LOCAL_DSQ_OFFLINE in the right spot
SCX_EV_DISPATCH_LOCAL_DSQ_OFFLINE wasn't quite right in two aspects:
- It counted both migration disabled and offline events.
- It didn't count events from scx_bpf_dsq_move() path.
Fix it by moving the counting into task_can_run_on_remote_rq() which is
shared by both paths and can distinguish the different rejection conditions.
The argument @trigger_error is renamed to @enforce as it now does more than
just triggering error.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Changwoo Min <changwoo@igalia.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions