Hi, On Thursday, 7 of April 2005 16:41, Alan Stern wrote: > On Thu, 7 Apr 2005, Rafael J. Wysocki wrote: > > > Well, (having thought about it for a while) why, actually, a device's _suspend() > > routine would need such a lock? Devices are suspended on one CPU in > > a single thread which can only (potentially) race with interrupt handlers ... > > You're blinded by thinking that suspend() can be called only during a > system sleep transition. Well, yes. :-) > Don't forget about runtime power management! Of course you're right. Thanks for pointing this out. Greets, Rafael -- - Would you tell me, please, which way I ought to go from here? - That depends a good deal on where you want to get to. -- Lewis Carroll "Alice's Adventures in Wonderland"