Re: [PATCH v1 0/2] PM: core: Updates related to device link lists

Greg Kroah-Hartman
2025-09-06T12:01:48Z

On Tue, Sep 02, 2025 at 03:40:54PM +0200, Rafael J. Wysocki wrote:
> Hi All,
>
> The changes in this series clean up the usage of _rcu list walks for
> walking lists of a device's links to suppliers and consumers.
>
> The first patch changes the _rcu annotation of those list walks to
> the _srcu one which is more appropriate because SRCU is used for
> device link lists protection.
>
> The second patch (which is not expected to make any functional difference)
> adds two macros for walking lists of a device's links to suppliers and
> consumers and updates power management code walking those lists to use
> the new macros for more clarity and protection against possible coding
> mistakes.
>
> Thanks!
>
>
>

Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>