diff options
| author | Tejun Heo <tj@kernel.org> | 2026-07-23 15:07:56 -1000 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-07-25 10:33:24 -1000 |
| commit | 6ee471b646e09203f8dca27ffff78bb454dc97ac (patch) | |
| tree | 920e34b02b8315e55c7059125bb5a2ab1a43b0ee /tools/perf/scripts/python/stackcollapse.py | |
| parent | ce228343010df67e0a35bd1a9980abcfdf9cf95f (diff) | |
sched_ext: Use rcu_access_pointer() for the first_task comparison
dsq->first_task is __rcu for the lockless scx_bpf_dsq_peek(). The task
removal path compares it against the departing task with a plain load, which
sparse flags. The comparison runs under the dsq lock and only tests
identity, so rcu_access_pointer() is the fit.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
