[PATCH v4 0/5] barrier: Add smp_cond_load_*_timewait()
Okanovic, Haris
harisokn at amazon.com
Wed Sep 3 08:56:38 PDT 2025
On Mon, 2025-09-01 at 12:49 +0100, Catalin Marinas wrote:
> CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe.
>
>
>
> On Fri, Aug 29, 2025 at 01:07:30AM -0700, Ankur Arora wrote:
> > Ankur Arora (5):
> > asm-generic: barrier: Add smp_cond_load_relaxed_timewait()
> > arm64: barrier: Add smp_cond_load_relaxed_timewait()
> > arm64: rqspinlock: Remove private copy of
> > smp_cond_load_acquire_timewait
> > asm-generic: barrier: Add smp_cond_load_acquire_timewait()
> > rqspinlock: use smp_cond_load_acquire_timewait()
>
> Can you have a go at poll_idle() to see how it would look like using
> this API? It doesn't necessarily mean we have to merge them all at once
> but it gives us a better idea of the suitability of the interface.
This is what I tested on ARM on Fri:
https://github.com/harisokanovic/linux/blob/37e02b950c99370466e7385e5e754bbd6232ef95/drivers/cpuidle/poll_state.c#L24
Regards,
Haris Okanovic
AWS Graviton Software
>
> --
> Catalin
More information about the linux-arm-kernel
mailing list