PM: core: Updates related to device link lists
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | PM: core: Annotate loops walking device links as _srcudrivers/ drivers/ | +11 | 1 reply | |
| 2/2 | PM: core: Add two macros for walking device linksdrivers/ drivers/ drivers/ | +16 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Ulf Hansson | Greg Kroah-Hartman |
|---|---|---|
| Series | A-b | |
| 1/2 | R-b | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 0/2] PM: core: Updates related to device link lists
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!