Re: [RFC Add no_suspend attribute V2] Let the driver know if it's in use

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

 



On Sat, 25 Apr 2009, Michael Trimarchi wrote:

> Ok, I understand, so how to know the devices dependences? There is a way 
> to express
> this relation? Because if it is not possible a single flag can be used

Nobody knows all the device dependencies.  That's why we're afraid that 
if you change the list, something will break.

> > This will set the dont_suspend flag for all devices in the subtree 
> > starting at topdev.
> >   
> Yes this is possible, but you walk all list twice.

So what?  Walking the list is very quick, and you're not on a 
time-critical path.

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