diff options
| author | Tejun Heo <tj@kernel.org> | 2026-04-16 06:41:15 -1000 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-04-16 07:31:07 -1000 |
| commit | 60a59eaca71b0a8db299830da72d4c3effa78e79 (patch) | |
| tree | 7c2c6cddfafea8f54e1629f47c6fd08bb5fbeee6 /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git | |
| parent | ac660979dfc43d84f703a566533edb8014b24f7b (diff) | |
sched_ext: scx_qmap: move globals and cpu_ctx into a BPF arena map
Arena simplifies verification and allows more natural programming.
Convert scx_qmap to arena as preparation for further sub-sched work.
Move scheduler state from BSS globals and a percpu array map
into a single BPF arena map. A shared struct qmap_arena is declared as
an __arena global so BPF accesses it directly and userspace reaches it
through skel->arena->qa.
Scheduling logic unchanged; only memory backing changes.
v2: Drop "mutable" from comments.
Signed-off-by: Tejun Heo <tj@kernel.org>
Reviewed-by: Andrea Righi <arighi@nvidia.com>
Reviewed-by: Emil Tsalapatis <emil@etsalapatis.com>
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
