public inbox for linux-pm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/2] PM: core: Updates related to device link lists
@ 2025-09-02 13:40 Rafael J. Wysocki
  2025-09-02 13:43 ` [PATCH v1 1/2] PM: core: Annotate loops walking device links as _srcu Rafael J. Wysocki
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Rafael J. Wysocki @ 2025-09-02 13:40 UTC (permalink / raw)
  To: Linux PM
  Cc: Greg Kroah-Hartman, LKML, Danilo Krummrich, Ulf Hansson,
	Saravana Kannan, Johannes Berg

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!




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-09-06 12:01 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-02 13:40 [PATCH v1 0/2] PM: core: Updates related to device link lists Rafael J. Wysocki
2025-09-02 13:43 ` [PATCH v1 1/2] PM: core: Annotate loops walking device links as _srcu Rafael J. Wysocki
2025-09-04  9:23   ` Ulf Hansson
2025-09-02 13:45 ` [PATCH v1 2/2] PM: core: Add two macros for walking device links Rafael J. Wysocki
2025-09-04  9:23   ` Ulf Hansson
2025-09-06 12:01 ` [PATCH v1 0/2] PM: core: Updates related to device link lists Greg Kroah-Hartman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox