[PATCH v7 2/7] arm64: barrier: Support smp_cond_load_relaxed_timeout()
Christoph Lameter (Ampere)
cl at gentwo.org
Tue Oct 21 10:31:38 PDT 2025
On Thu, 16 Oct 2025, Ankur Arora wrote:
> +#define SMP_TIMEOUT_POLL_COUNT 1
A way to disable the spinning in the core code and thus arm64 wont spin
there anymore. Good.
Spinning is bad and a waste of cpu resources. If this is done then I
would like the arch code to implement the spinning and not the core so
that there is a motivation for the arch maintainer to
come up with a way to avoid the spinning at some point.
The patch is ok as is.
Reviewed-by: Christoph Lameter (Ampere) <cl at gentwo.org>
More information about the linux-arm-kernel
mailing list