Cc: 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 Sunday, 6 of January 2008, Rafael J. Wysocki wrote:
Actually, having thought about it a bit more, I don't see the point in
preventing the removal of the device from the list in device_pm_remove() if
we allow all of the operations in device_del() preceding it to be performed.
Shouldn't we just take pm_sleep_rwsem in device_del() upfront and block on that
if locked?
Rafael
--