mirror of
https://github.com/JakeHillion/scx.git
synced 2024-11-26 11:30:22 +00:00
f261d0f037
Sync from sched_ext/for-6.11 1edab907b57d ("sched_ext/scx_qmap: Pick idle CPU for direct dispatch on !wakeup enqueues") git://git.kernel.org/pub/scm/linux/kernel/git/tj/sched_ext.git for-6.11 - cgroup support hasn't landed in the upstream kernel yet. This most likely will happen in a few weeks. For the time being, disable scx_flatcg, scx_pair and scx_mitosis. - Compat macro for DSQ task iterator dropped. This is now a part of the baseline. - scx_bpf_consume() isn't upstream yet. BPF interfacing side is still being discussed. Dropped example usage from tools/sched_ext. None of the practical schedulers use it, so this should be fine for now. - scx_bpf_cpu_rq() added. - AUTOATTACH workaround for newer libbpf versions added.
32 lines
1.2 KiB
Meson
32 lines
1.2 KiB
Meson
# the previous scheduler in the compile sequence
|
|
sched = []
|
|
|
|
# Since meson and cargo tries build in parallel, this can cause significant load
|
|
# when meson tries to launch N instances of cargo and cargo tries to compile N files
|
|
# in parallel (N*N compiler instances in total).
|
|
#
|
|
# To prevent this from happening, we try to force meson to build them sequentially
|
|
# by making the "current" scheduler depend on another scheduler.
|
|
# To add a new scheduler, assign the output of your custom_target to sched
|
|
# and add sched as a dependency to your custom_target. For example:
|
|
#
|
|
# sched = custom_target('scx_mysched',
|
|
# ...
|
|
# depends: [mydep, sched],
|
|
# build_always_stale: true)
|
|
subdir('scx_layered')
|
|
#subdir('scx_mitosis') # Temporarily excluded until cgroup support lands in the kernel
|
|
subdir('scx_rusty')
|
|
subdir('scx_rustland')
|
|
subdir('scx_rlfifo')
|
|
subdir('scx_bpfland')
|
|
subdir('scx_lavd')
|
|
|
|
# the target to compile all rust schedulers
|
|
custom_target('rust_scheds',
|
|
input: 'meson.build',
|
|
output: '@PLAINNAME@.__PHONY__',
|
|
command: ['touch', '@PLAINNAME@.__PHONY__'],
|
|
depends: sched,
|
|
build_by_default: true)
|