Re: [RFC] [Patch] Fix device_move() vs. dpm list ordering, v2

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

 



On Wed, 4 Mar 2009, Cornelia Huck wrote:

> dpm_list currently relies on the fact that child devices will
> be registered after their parents to get a correct suspend
> order. Using device_move() however destroys this assumption, as
> an already registered device may be moved under a newly registered
> one.
> 
> This patch adds a new argument to device_move(), allowing callers
> to specify how dpm_list should be adapted.

I like this version much better.  device_move() is now a little more 
complicated, but the callers are considerably simpler.

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