Re: Re: freeze_processes questions

Alan Stern
2005-04-07T14:41:09Z

[-- Attachment #1: Type: TEXT/PLAIN, Size: 436 bytes --]

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. Don't forget about runtime power management!

Alan Stern