summaryrefslogtreecommitdiff
path: root/kernel/bpf/arraymap.c
diff options
context:
space:
mode:
authorAndrea Righi <arighi@nvidia.com>2026-02-18 09:32:15 +0100
committerTejun Heo <tj@kernel.org>2026-02-23 10:00:53 -1000
commitb75aaea24c9fc776e5bd14df38147270a3c00450 (patch)
tree6330d3c839a5229bd7defabe1af1d46787ec8980 /kernel/bpf/arraymap.c
parent6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f (diff)
sched_ext: Properly mark SCX-internal migrations via sticky_cpu
Reposition the setting and clearing of sticky_cpu to better define the scope of SCX-internal migrations. This ensures @sticky_cpu is set for the entire duration of an internal migration (from dequeue through enqueue), making it a reliable indicator that an SCX-internal migration is in progress. The dequeue and enqueue paths can then use @sticky_cpu to identify internal migrations and skip BPF scheduler notifications accordingly. This prepares for a later commit fixing the ops.dequeue() semantics. No functional change intended. Signed-off-by: Andrea Righi <arighi@nvidia.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions