Re: [PATCH v4 0/5] barrier: Add smp_cond_load_*_timewait()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux