mirror of
https://github.com/JakeHillion/scx.git
synced 2024-12-03 22:37:11 +00:00
46defa073d
It would be useful to be able to check whether a kfunc exists from rust user space. For example, now that we have support for adjusting cpufreq in scx_layered, we'll want to be able to test whether or not a the scx_bpf_cpuperf_set() (and friends) kfuncs are present for backwards compat purposes. Let's add a kfunc_exists() function to compat.rs for this purpose. 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.