summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2025-02-07 23:58:23 +0300
committerTejun Heo <tj@kernel.org>2025-02-09 09:32:54 +0300
commit2fa0fbeb69edd367b7c44f484e8dc5a5a1a311ef (patch)
tree5627ad235172c0ed449d20b700e6b21c9a54a474 /tools/perf/scripts/python/task-analyzer.py
parent029b6ce733712a41421955194b113f283dcb1026 (diff)
downloadlinux-2fa0fbeb69edd367b7c44f484e8dc5a5a1a311ef.tar.xz
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/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions