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

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

 



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?

Alan Stern


[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