public inbox for linux-riscv@lists.infradead.org
 help / color / mirror / Atom feed
* boot time regressed a lot due to misaligned access probe
@ 2023-09-13  0:14 Jisheng Zhang
  2023-09-13 10:46 ` Ben Dooks
  0 siblings, 1 reply; 6+ messages in thread
From: Jisheng Zhang @ 2023-09-13  0:14 UTC (permalink / raw)
  To: linux-riscv, PalmerDabbelt, Paul Walmsley, Albert Ou, Evan Green

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

_______________________________________________
linux-riscv mailing list
linux-riscv@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-riscv

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-09-15  1:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-13  0:14 boot time regressed a lot due to misaligned access probe Jisheng Zhang
2023-09-13 10:46 ` Ben Dooks
2023-09-13 15:11   ` Jisheng Zhang
2023-09-13 19:50     ` Evan Green
2023-09-13 19:53       ` Palmer Dabbelt
2023-09-15  0:55       ` Jisheng Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox