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

Rafael J. Wysocki posted 2 patches 1 month ago
[PATCH v1 0/2] PM: core: Updates related to device link lists
Posted by Rafael J. Wysocki 1 month ago
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!
Re: [PATCH v1 0/2] PM: core: Updates related to device link lists
Posted by Greg Kroah-Hartman 3 weeks, 5 days ago
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>