diff options
| author | Tejun Heo <[email protected]> | 2025-02-07 20:58:23 +0000 |
|---|---|---|
| committer | Tejun Heo <[email protected]> | 2025-02-09 06:32:54 +0000 |
| commit | 2fa0fbeb69edd367b7c44f484e8dc5a5a1a311ef (patch) | |
| tree | 5627ad235172c0ed449d20b700e6b21c9a54a474 /net/unix/af_unix.c | |
| parent | sched_ext: Fix incorrect time delta calculation in time_delta() (diff) | |
| download | kernel-2fa0fbeb69edd367b7c44f484e8dc5a5a1a311ef.tar.gz kernel-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 <[email protected]>
Acked-by: Andrea Righi <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
