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

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

 



On Mon, Mar 07, 2005 at 11:11:51AM -0500, Alan Stern 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?

I am slowly deleting the usage of the bus subsystem rwsem (see the
patches on lkml and in the -mm tree).  So no, no new usage of that lock
is acceptable.

thanks,

greg k-h

[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