mirror of
https://github.com/JakeHillion/scx.git
synced 2024-12-04 06:47:11 +00:00
4edd8d75e6
In order to make it easy for schedulers to use the hotplug_seq feature that's available in recent kernels, we'll need to provide a macro wrapper so that we can support the feature with backwards compatibility. This adds scx_ops_open!() to abstract that. Any scheduler that uses scx_ops_open()! will be exited if a hotplug event happens between opening the skeleton, and loading it. Signed-off-by: David Vernet <void@manifault.com> |
||
---|---|---|
.. | ||
src | ||
.gitignore | ||
bindings.h | ||
bpf_h | ||
build.rs | ||
Cargo.toml | ||
LICENSE | ||
meson.build | ||
README.md |
Utility collection for sched_ext schedulers
sched_ext is a Linux kernel feature which enables implementing kernel thread schedulers in BPF and dynamically loading them.
Thie crate is a collection of utilities for sched_ext scheduler implementations which use Rust for userspace component. This enables implementing hot paths in BPF while offloading colder and more complex operations to userspace Rust code which can be significantly more convenient and powerful.
Please see documentation for more details.