mirror of
https://github.com/sched-ext/scx.git
synced 2024-11-29 06:00:23 +00:00
54c487731a
Sync to vmlinux.h from sched_ext/for-6.11 1edab907b57d ("sched_ext/scx_qmap: Pick idle CPU for direct dispatch on !wakeup enqueues"). This most likely will be the commit which will be merged during the upcoming kernel v6.11 merge window. Unfortunately, this is a compatibility breaking change. As the size of bpf_iter_scx_dsq is reduced, schedulers that use the iterator - scx_lavd and scx_layered - won't be able to run on older kernels. Likewise, older binaries from before this commit won't be able to run on newer kernels.
14 lines
563 B
Meson
14 lines
563 B
Meson
# scx_flatcg and scx_pair are temporarily excluded until cgroup support
|
|
# lands in the upstream kernel.
|
|
c_scheds = ['scx_simple', 'scx_qmap', 'scx_central', 'scx_userland', 'scx_nest']
|
|
|
|
foreach sched: c_scheds
|
|
thread_dep = dependency('threads')
|
|
bpf_o = gen_bpf_o.process(sched + '.bpf.c', extra_args: bpf_includes)
|
|
bpf_skel = gen_bpf_skel.process(bpf_o)
|
|
executable(sched, [bpf_skel, sched + '.c'],
|
|
include_directories: [user_c_includes],
|
|
dependencies: [kernel_dep, libbpf_dep, thread_dep],
|
|
install: true)
|
|
endforeach
|