On Monday, 25 of February 2008, Alan Stern wrote:IMO the device driver should assure that no new children will be registered concurrently with the ->suspend() method (IOW, ->suspend() should wait for all such registrations to complete and should prevent any new ones from being started) and it should make it impossible to register any new children after ->suspend() has run. It's the driver's problem how to achieve that. Yes, I think we ought to fail the suspend in such cases. Still, that's not sufficient to prevent a child from being registered after we've run dpm_suspend(). For this reason, we could also leave dpm_suspend() with dpm_list_mtx held and not release it until the next dpm_resume() is run. That will potentially cause some trouble to CPU hotplug cotifiers, but we can handle that, for example, by using the in_suspend_context() test. Thanks, Rafael --
| Borislav Petkov | 2.6.23-rc1: no setup signature found... |
| Andrew Morton | Re: [PATCH] Memory management livelock |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Steven King | ti_usb_3410_5052 breakage in 2.6.24-rc1 |
git: | |
| Linus Torvalds | cleaner/better zlib sources? |
| Theodore Ts'o | [PATCH] Add --no-reuse-delta, --window, and --depth options to git-gc |
| Karl | Re: [PATCH] Add a birdview-on-the-source-code section to the user manual |
| Yossi Leybovich | corrupt object on git-gc |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| Richard Stallman | Re: Real men don't attack straw men |
| David Newman | setting dscp or tos bits |
| Stijn | Re: [i386/Thinkpad T41]USB mouse + Xorg obsd 4.1 |
| Quentin Garnier | [cube@cubidou.net: Re: Moving ethfoo in the main tree] |
| cube | Moving ethfoo in the main tree |
| Blair Sadewitz | PCI latency timer values |
| Oliver Gould | kqemu: driver(9)/filedesc(9) questions |
