Re: [RFC][PATCH] PM: Make PM core handle device registrations concurrent with suspend/hibernation

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Rafael J. Wysocki <rjw@...>
Cc: pm list <linux-pm@...>, Alexey Starikovskiy <astarikovskiy@...>, Pavel Machek <pavel@...>, LKML <linux-kernel@...>
Date: Thursday, March 6, 2008 - 5:58 pm

On Thu, 6 Mar 2008, Rafael J. Wysocki wrote:


You can load the module before devices are suspended, and then its init 
routine can run while the suspend is starting.


Yes, it's fine.  Mutual exclusion with module loading can be added 
later.  (Ironically, it may require putting pm_sleep_rwsem back!)

Alan Stern

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

Messages in current thread:
Re: [RFC][PATCH] PM: Make PM core handle device registration..., Rafael J. Wysocki, (Thu Mar 6, 12:26 pm)
Re: [RFC][PATCH] PM: Make PM core handle device registration..., Alan Stern, (Thu Mar 6, 5:58 pm)