Re: [linux-pm] Re: [PATCH] PM: Acquire device locks on suspend

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Johannes Berg <johannes@...>
Cc: Alan Stern <stern@...>, Greg KH <gregkh@...>, LKML <linux-kernel@...>, ACPI Devel Maling List <linux-acpi@...>, pm list <linux-pm@...>, Andrew Morton <akpm@...>, Ingo Molnar <mingo@...>
Date: Sunday, January 6, 2008 - 7:59 pm

On Monday, 7 of January 2008, Johannes Berg wrote:

Well, we are towards the end of device removal at this point, having called
bus_remove_device(dev) for example, but still we've got it on dpm_active ...

This may not be technically wrong (ie. we should be able to recover from
that), but it seems conceptually wrong and with pm_sleep_rwsem in place it
can be avoided.

Rafael
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [linux-pm] Re: [PATCH] PM: Acquire device locks on suspend, Rafael J. Wysocki, (Sun Jan 6, 7:59 pm)