diff options
author | 2025-03-13 18:03:21 +0100 | |
---|---|---|
committer | 2025-03-13 07:07:27 -1000 | |
commit | 97e13ecb026684dcd428910701662275175a2315 (patch) | |
tree | 78b8a65eb6a2ee3b155bbd5a5209c3bd883554fe /scripts/generate_rust_analyzer.py | |
parent | sched_ext: Add trace point to track sched_ext core events (diff) | |
download | wireguard-linux-97e13ecb026684dcd428910701662275175a2315.tar.xz wireguard-linux-97e13ecb026684dcd428910701662275175a2315.zip |
sched_ext: Skip per-CPU tasks in scx_bpf_reenqueue_local()
scx_bpf_reenqueue_local() can be invoked from ops.cpu_release() to give
tasks that are queued to the local DSQ a chance to migrate to other
CPUs, when a CPU is taken by a higher scheduling class.
However, there is no point re-enqueuing tasks that can only run on that
particular CPU, as they would simply be re-added to the same local DSQ
without any benefit.
Therefore, skip per-CPU tasks in scx_bpf_reenqueue_local().
Signed-off-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions