[linux-pm] Some thoughts on suspend/resume development

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 7 Mar 2005 11:11:51 -0500 (EST), Alan Stern
<stern@xxxxxxxxxxxxxxxxxxx> wrote:
> On Sat, 5 Mar 2005, Greg KH wrote:
> 
> > On Sat, Mar 05, 2005 at 10:38:03PM -0500, Alan Stern wrote:
> > >     The need to make sure that suspend/resume are mutually exclusive
> > >     with probe/release (and possibly other entry points).  The USB
> > >     subsystem has set up its own private locking arrangement to take
> > >     care of this; perhaps that scheme should be adopted more widely.
> >
> > This locking should be moved to the driver core, if possible.
> 
> My thought exactly!  Would it suffice to have the PM suspend and resume
> routines get a read lock on the bus subsystem's rwsem?
> 

Ugh, wasn't it just recently killed as it was prevnting discovery of
new child devices upon resume?

-- 
Dmitry

[Index of Archives]     [Linux ACPI]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [CPU Freq]     [Kernel Newbies]     [Fedora Kernel]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux