38 releases (23 stable)
| 1.0.25 | Dec 2, 2025 |
|---|---|
| 1.0.24 | Nov 11, 2025 |
| 1.0.22 | Oct 7, 2025 |
| 1.0.17 | Jul 8, 2025 |
| 0.2.0 | Nov 30, 2023 |
#1311 in Unix APIs
251 downloads per month
Used in 18 crates
1.5MB
4.5K
SLoC
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.
This 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.
The utilities can be put into two broad categories.
Build Utilities
BPF being its own CPU architecture and independent runtime environment,
build environment and steps are already rather complex. The need to
interface between two different languages - C and Rust - adds further
complexities. This crate contains struct BpfBuilder which is to be
used from build.rs and automates most of the process.
Utilities for Rust Userspace Component
Utility modules which can be useful for userspace component of sched_ext schedulers.
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.
This 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.
Dependencies
~32–52MB
~784K SLoC