mirror of
https://github.com/JakeHillion/scx.git
synced 2024-11-26 19:30:24 +00:00
d76551bbd3
The stats map in scx_rusty is a BPF_MAP_TYPE_PERCPU_ARRAY, with its size
determined by num_possible_cpus(). Initializing it with nr_cpu_ids() can
result in errors such as:
Error: Failed to zero stat
Caused by:
number of values 6 != number of cpus 8
Fix by using num_possible_cpus() to initialize it.
Fixes:
|
||
---|---|---|
.. | ||
bpf | ||
bpf_intf.rs | ||
bpf_skel.rs | ||
domain.rs | ||
load_balance.rs | ||
main.rs | ||
tuner.rs |