[linux-pm] Re: Hotplug events during sleep transition

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

 



On Monday 26 December 2005 16:20, Patrick Mochel wrote:
> > >  Unbinding and
> > > rebinding do a whole lot more. A device does an entire round trip through
> > > the driver core, which does a lot of crap. There are several memory
> > > allocations, perhaps dozens of sysfs files created, and a handful of locks
> > > taken adn lists traversed.
> >
> > No, you're thinking of unregistering and re-registering a device or
> > driver.  Unbinding and rebinding is much simpler, although still somewhat
> > complex.
> 
> Ah, point taken; I was thinking that all USB devices were still
> disconnected during a suspend transition..
> 

Device removal could happen at any point, even during suspend transition.
The kernel should be able to handle this scenario therefore implementation
that assumes that device tree is frozen in flawed. As far as I understand
the only thing that does not work at the moment is invoking hotplug handler.

-- 
Dmitry


[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