login
Header Space

 
 

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

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Matthew Garrett <mjg59@...>
Cc: <linux-kernel@...>, <linux-pm@...>
Date: Tuesday, July 3, 2007 - 6:21 pm

On Tue, 3 Jul 2007, Matthew Garrett wrote:


You persist in evading my point.  I'm not worried about applications;  
I'm worried about drivers.

Let me put it explicitly: You're writing a driver.  You're working on
the read, write, or probe method.  You add code to check if a system
sleep is underway.  Suppose the answer is Yes -- what does your driver
do next?

Make your answer as detailed as you reasonably can.  And be careful to 
arrange things so that an ongoing I/O operation doesn't get messed up 
when your suspend method is called.

Alan Stern

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [linux-pm] [PATCH] Remove process freezer from suspend t..., Alan Stern, (Tue Jul 3, 6:21 pm)
Re: [linux-pm] [PATCH] Remove process freezer from suspend t..., Rafael J. Wysocki, (Wed Jul 4, 10:40 am)
Re: [linux-pm] [PATCH] Remove process freezer from suspend t..., Jeremy Fitzhardinge, (Thu Jul 5, 12:10 pm)
Re: [linux-pm] [PATCH] Remove process freezer from suspend t..., Rafael J. Wysocki, (Wed Jul 4, 10:41 am)
Re: [linux-pm] [PATCH] Remove process freezer from suspend t..., Rafael J. Wysocki, (Wed Jul 4, 11:17 am)
speck-geostationary