]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sched_ext: Replace bpf_ktime_get_ns() to scx_bpf_now()
authorChangwoo Min <changwoo@igalia.com>
Thu, 9 Jan 2025 13:14:55 +0000 (22:14 +0900)
committerTejun Heo <tj@kernel.org>
Fri, 10 Jan 2025 18:04:40 +0000 (08:04 -1000)
commit0f130bc341d09a82ad23e7fc59d4306528c4c4ce
tree76d5f20b93a36f3ea1a10f4fbde28b12f32744a2
parentd07be814fc7165cb804317c99228243382e81188
sched_ext: Replace bpf_ktime_get_ns() to scx_bpf_now()

In the BPF schedulers that use bpf_ktime_get_ns() -- scx_central and
scx_flatcg, replace bpf_ktime_get_ns() calls to scx_bpf_now().

Signed-off-by: Changwoo Min <changwoo@igalia.com>
Acked-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
tools/sched_ext/scx_central.bpf.c
tools/sched_ext/scx_flatcg.bpf.c