diff options
| author | Tejun Heo <tj@kernel.org> | 2026-08-12 09:55:33 -1000 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-08-12 09:55:33 -1000 |
| commit | 67f1f4a48c24974e392188602b477741186fa8ce (patch) | |
| tree | d5e31d676be23e0047fb91e2a282656a203e8aef /tools/perf/scripts/python/bin/task-analyzer-record | |
| parent | 294d95ff251b4333c1449ff000ed0aef478fbc9d (diff) | |
sched_ext: Pass kernel arena pointers to ops_cid callbacks
The cid-form set_cmask() and sub_caps_updated() callbacks receive cmasks
that the kernel builds in the arena, and the kernel converts the kernel
addresses to the BPF arena pointer form by hand before each call.
BPF now translates between BPF and kernel arena addresses for __arena
arguments. Tag the arguments __arena in the cfi stubs and the ops_cid member
declarations and pass the kernel arena addresses directly, dropping the
manual scx_kaddr_to_arena() conversions and the now-unused helper. The
delivered value is unchanged and existing BPF-side code works as before.
The arena argument address translation is currently implemented only on
x86-64. cid-form schedulers implementing these callbacks load only there for
now.
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions
