Re: [PATCH] Remove process freezer from suspend to RAM pathway

Matthew Garrett
2007-07-04T14:58:18Z

On Wed, Jul 04, 2007 at 10:38:47AM -0400, Alan Stern wrote:

> Okay, I agree that (1) can be handled without too much effort. But
> doing it adds an extra test to _every_ driver's I/O pathway. Freezing
> userspace does not incur all this additional overhead.

For runtime PM to work it's already necessary to have a test in that
path to check if the device is suspended. I can't see how this adds any
overhead to the common case.

--
Matthew Garrett | mjg59@srcf.ucam.org