diff options
author | Tejun Heo <tj@kernel.org> | 2025-02-07 10:58:23 -1000 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2025-02-08 20:32:54 -1000 |
commit | 2fa0fbeb69edd367b7c44f484e8dc5a5a1a311ef (patch) | |
tree | 5627ad235172c0ed449d20b700e6b21c9a54a474 /tools/perf/scripts/python | |
parent | 029b6ce733712a41421955194b113f283dcb1026 (diff) |
sched_ext: Implement auto local dispatching of migration disabled tasks
Migration disabled tasks are special and pinned to their previous CPUs. They
tripped up some unsuspecting BPF schedulers as their ->nr_cpus_allowed may
not agree with the bits set in ->cpus_ptr. Make it easier for BPF schedulers
by automatically dispatching them to the pinned local DSQs by default. If a
BPF scheduler wants to handle migration disabled tasks explicitly, it can
set SCX_OPS_ENQ_MIGRATION_DISABLED.
Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Andrea Righi <arighi@nvidia.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions