scx_layered: Change default DSQ iter algo

Change the default DSQ iter algo from round robin to linear.

Signed-off-by: Daniel Hodges <hodges.daniel.scott@gmail.com>
This commit is contained in:
Daniel Hodges 2024-10-10 10:16:19 -07:00
parent 59cfd4060c
commit fb4dcf91eb
2 changed files with 2 additions and 2 deletions

View File

@ -36,7 +36,7 @@ const volatile bool xnuma_preemption = false;
const volatile s32 __sibling_cpu[MAX_CPUS];
const volatile unsigned char all_cpus[MAX_CPUS_U8];
const volatile u32 layer_iteration_order[MAX_LAYERS];
const volatile u32 dsq_iter_algo = DSQ_ITER_ROUND_ROBIN;
const volatile u32 dsq_iter_algo = DSQ_ITER_LINEAR;
private(all_cpumask) struct bpf_cpumask __kptr *all_cpumask;
private(big_cpumask) struct bpf_cpumask __kptr *big_cpumask;

View File

@ -516,7 +516,7 @@ impl DsqIterAlgo {
impl Default for DsqIterAlgo {
fn default() -> Self {
DsqIterAlgo::RoundRobin
DsqIterAlgo::Linear
}
}