scx/scheds/rust
Andrea Righi 2ac1a5924f scx_rustland_core: introduce RustLandBuilder()
Introduce a wrapper to scx_utils::BpfBuilder that can be used to build
the BPF component provided by scx_rustland_core.

The source of the BPF components (main.bpf.c) is included in the crate
as an array of bytes, the content is then unpacked in a temporary file
to perform the build.

The RustLandBuilder() helper is also used to generate bpf.rs (that
implements the low-level user-space Rust connector to the BPF
commponent).

Schedulers based on scx_rustland_core can simply use RustLandBuilder(),
to build the backend provided by scx_rustland_core.

Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
2024-02-28 17:49:44 +01:00
..
scx_layered Merge pull request #149 from davemarchevsky/davemarchevsky_nice_equals 2024-02-22 06:38:17 -10:00
scx_rlfifo scx_rustland_core: introduce RustLandBuilder() 2024-02-28 17:49:44 +01:00
scx_rustland scx_rustland_core: introduce RustLandBuilder() 2024-02-28 17:49:44 +01:00
scx_rusty rusty: Use new infeasible crate 2024-02-26 10:51:54 -06:00
meson.build scx_rlfifo: simple user-space FIFO scheduler written in Rust 2024-02-28 17:49:44 +01:00
README.md scx_rlfifo: simple user-space FIFO scheduler written in Rust 2024-02-28 17:49:44 +01:00

RUST SCHEDULERS

Introduction

This directory contains schedulers with user space rust components.

The README in each scheduler directory provides some background and describes the types of workloads or scenarios they're designed to accommodate. For more details on any of these schedulers, please see the header comment in their main.rs or *.bpf.c files.

Schedulers