[PATCH v7 2/7] arm64: barrier: Support smp_cond_load_relaxed_timeout()
Ankur Arora
ankur.a.arora at oracle.com
Tue Oct 21 20:07:31 PDT 2025
Christoph Lameter (Ampere) <cl at gentwo.org> writes:
> 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
Agreed.
> 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>
Thanks for all the reviews!
--
ankur
More information about the linux-arm-kernel
mailing list