Re: [RFC 2/2] PM: Lock all devices during suspend/hibernate

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

 



On Wed, 1 Aug 2007, Rafael J. Wysocki wrote:

> > +static DECLARE_RWSEM(device_registration_rwsem);
> 
> Is it only intended for device registration, or can it be used in some other
> code paths too?

The patch uses it only for registration, since that's where it is 
needed.  I suppose it could be used on other paths as well, if anybody 
wanted to make something else mutually exclusive with suspend.  
(Although then it probably ought to be renamed...)

Alan Stern

_______________________________________________
linux-pm mailing list
linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/linux-pm

[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