Cc: Johannes Berg <johannes@...>, Greg KH <gregkh@...>, Andrew Morton <akpm@...>, Len Brown <lenb@...>, Ingo Molnar <mingo@...>, ACPI Devel Maling List <linux-acpi@...>, LKML <linux-kernel@...>, pm list <linux-pm@...>
On Wednesday, 9 of January 2008, Alan Stern wrote:
Still, device_pm_schedule_removal() can (in theory) be called concurrently
with dpm_resume() by another thread and this might corrupt the list without
the locking.
Except for against theoretical races with device_pm_schedule_removal().
Correct.
Or by a CPU hotplug notifier (that will be the majority of cases, IMO).
Thanks for the review.
I'll fix the comments and repost the patch from scratch for merging in a
separate thread.
Greetings,
Rafael
--