boot time regressed a lot due to misaligned access probe

Jisheng Zhang jszhang at kernel.org
Tue Sep 12 17:14:08 PDT 2023


Hi all,

Probing one cpu for misaligned access cost about 0.06s, so it will cost
about 3.8s on platforms with 64 CPUs, for example, milkv pioneer which
is powered by sg2042.

I'm not sure the reason of probing misaligned access for all CPUs. If
the HW doesn't behave as SMP from misalligned access side, then unless
userspace processes force cpu affinity, they always suffer from this
non-SMP pain.

So, can we only probe the boot cpu?

Thanks



More information about the linux-riscv mailing list