summaryrefslogtreecommitdiff
path: root/include/linux/memory_hotplug.h
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2026-06-03 23:57:03 -1000
committerTejun Heo <tj@kernel.org>2026-06-03 23:57:03 -1000
commit2e05f2fd0dd72aa8aa56cf355e1e39a3f565b4ca (patch)
tree63e5697ddea781d6a9f0d32914d1f2aeefb8d998 /include/linux/memory_hotplug.h
parent70390da50c30cb22a8b19054f15df1b1bb38904c (diff)
sched_ext: Add scx_arena_to_kaddr() / scx_kaddr_to_arena()
Translating between a BPF-arena pointer and its kernel-side address is just an add or subtract of the arena's kern_vm start. More such translations are coming, so cache that start on scx_sched as @arena_kern_base at arena attach and wrap both directions. Convert the existing open-coded subtraction in scx_call_op_set_cpumask(). Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/linux/memory_hotplug.h')
0 files changed, 0 insertions, 0 deletions