This website requires JavaScript.
Explore
Help
Register
Sign In
JakeHillion
/
scx-upstream
Watch
1
Star
0
Fork
0
You've already forked scx-upstream
mirror of
https://github.com/sched-ext/scx.git
synced
2024-12-04 08:17:11 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
35a4326aee
scx-upstream
/
scheds
/
rust
/
scx_rlfifo
/
.gitignore
6 lines
48 B
Plaintext
Raw
Normal View
History
Unescape
Escape
scx_rlfifo: simple user-space FIFO scheduler written in Rust Implement a FIFO scheduler as an example usage of scx_rustland_core. Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
2024-02-24 22:04:04 +00:00
src/bpf/.output
scx_rustland_core: generate source files in-tree There is no need to generate source code in a temporary directory with RustLandBuilder(), we can simply generate code in-tree and exclude the generated source files from .gitignore. Having the generated source files in-tree can help to debug potential build issues (and it also allows to drop the the tempfile crate dependency). Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
2024-02-28 11:56:40 +00:00
intf.h
main.bpf.c
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-27 16:54:54 +00:00
bpf.rs
scx_rlfifo: simple user-space FIFO scheduler written in Rust Implement a FIFO scheduler as an example usage of scx_rustland_core. Signed-off-by: Andrea Righi <andrea.righi@canonical.com>
2024-02-24 22:04:04 +00:00
target
Reference in New Issue
Copy Permalink