diff options
author | 2025-02-07 10:58:23 -1000 | |
---|---|---|
committer | 2025-02-08 20:32:54 -1000 | |
commit | 2fa0fbeb69edd367b7c44f484e8dc5a5a1a311ef (patch) | |
tree | 5627ad235172c0ed449d20b700e6b21c9a54a474 /scripts/generate_rust_analyzer.py | |
parent | sched_ext: Fix incorrect time delta calculation in time_delta() (diff) | |
download | wireguard-linux-2fa0fbeb69edd367b7c44f484e8dc5a5a1a311ef.tar.xz wireguard-linux-2fa0fbeb69edd367b7c44f484e8dc5a5a1a311ef.zip |
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 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions