mirror of
https://github.com/sched-ext/scx.git
synced 2026-12-03 15:20:51 +00:00
The enum lookup tables carry five enumerators the kernel removed: - SCX_RQ_BAL_PENDING in v6.18 - SCX_RQ_BYPASSING and SCX_TASK_NR_STATES in v7.1 - SCX_RQ_BAL_KEEP and SCX_RQ_IN_BALANCE in v7.3 scx supports kernels from v6.12, where they still exist, but no scheduler, library or Rust code reads them. The kernel's copy of the tables drops them, and the two copies are meant to stay identical. Drop them from both tables and from rust/scx_utils/src/enums.rs, where the five fields go away from scx_utils' public Enums struct. The per-scheduler veristat rodata dumps lose the five keys too, since the variables they name no longer exist.