Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'pm-6.17-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm

Pull power management fix from Rafael Wysocki:
"Add missing locking annotations to two recently introduced
list_for_each_entry_rcu() loops in the core device suspend/resume
code (Johannes Berg)"

* tag 'pm-6.17-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
PM: sleep: annotate RCU list iterations

+2 -2
+2 -2
drivers/base/power/main.c
··· 675 675 idx = device_links_read_lock(); 676 676 677 677 /* Start processing the device's "async" consumers. */ 678 - list_for_each_entry_rcu(link, &dev->links.consumers, s_node) 678 + list_for_each_entry_rcu_locked(link, &dev->links.consumers, s_node) 679 679 if (READ_ONCE(link->status) != DL_STATE_DORMANT) 680 680 dpm_async_with_cleanup(link->consumer, func); 681 681 ··· 1330 1330 idx = device_links_read_lock(); 1331 1331 1332 1332 /* Start processing the device's "async" suppliers. */ 1333 - list_for_each_entry_rcu(link, &dev->links.suppliers, c_node) 1333 + list_for_each_entry_rcu_locked(link, &dev->links.suppliers, c_node) 1334 1334 if (READ_ONCE(link->status) != DL_STATE_DORMANT) 1335 1335 dpm_async_with_cleanup(link->supplier, func); 1336 1336