Merge pull request #776 from hodgesds/layered-default-iter-algo

scx_layered: Change default DSQ iter algo
This commit is contained in:
Daniel Hodges 2024-10-10 18:15:07 +00:00 committed by GitHub
commit 9940e48cdd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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
}
}