Re: Possible problem with device_move()

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

 



On Mon, 30 Jul 2007 13:34:35 -0400 (EDT),
Alan Stern <stern@xxxxxxxxxxxxxxxxxxx> wrote:

> As long as you never hold the device semaphores of both the parent and 
> the child there shouldn't be any problem.  Could this happen when a 
> subchannel structure is deallocated?

This is indeed what happens, since we unregister the child ccw_device
from the (io_)subchannel's remove function.

(We used to do unregistering of the ccw_device via a workqueue (in
order to avoid livelocks on a no longer existing bus semaphore), but
removed it since it seemed to be needlessly complicated code.)
_______________________________________________
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