scx-upstream/rust/scx_utils
Jordan Rome 6caf6c5c99 Add new archs for bpf_builder
This is to fix fedora build failures for these archs:
s390x and ppc64le

Error:
```
---- bpf_builder::tests::test_bpf_builder_new stdout ----
thread 'bpf_builder::tests::test_bpf_builder_new' panicked at src/bpf_builder.rs:592:9:
Failed to create BpfBuilder (Err(CPU arch "s390x" not found in ARCH_MAP))
```

https://koji.fedoraproject.org/koji/taskinfo?taskID=111114326
2024-01-03 10:50:33 -08:00
..
src Add new archs for bpf_builder 2024-01-03 10:50:33 -08:00
.gitignore rustu: Import scx_rusty and scx_layered from kernel tree 2023-11-30 13:13:41 -10:00
bpf_h scx_utils: Add mod bpf_h 2023-11-28 15:20:01 -10:00
build.rs scx_utils: Documentation and other minor updates 2023-12-02 23:56:36 -10:00
Cargo.toml Bump versions to publish scx_utils fedora compat change 2023-12-29 06:58:45 +09:00
LICENSE rust: clarify license and include text 2023-12-12 13:02:13 -08:00
meson.build build: rust projects now link against libbpf.a if provided 2023-12-02 06:41:26 -10:00
README.md scx_utils: Documentation and other minor updates 2023-12-02 23:56:36 -10:00

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.