Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: James Kosin
Date: Thursday, May 6, 2010 - 8:01 pm

On 5/6/2010 10:53 PM, Arve Hjønnevåg wrote:
If the process (privileged or unprivileged) doesn't want to suspend, why
not just provide an interface to allow suspend to be turned off at the
user level.  This could block the suspend cycle in itself, and you
shouldn't need fine grained off/on cycles.  If an application really
needs the system not to suspend then they (the user) should know the
consequences and power requirements for such a task.

I didn't say it had to be only from the idle task; but, that is the most
logical place.  If the other threads are not idle then they really
require work and will most likely already have a bock on the suspend anyway.

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

Messages in current thread:
Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api., Arve Hjønnevåg, (Thu May 6, 7:53 pm)
Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api., James Kosin, (Thu May 6, 8:01 pm)
Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api., Arve Hjønnevåg, (Thu May 6, 8:10 pm)
Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api., Tony Lindgren, (Fri May 7, 9:10 am)
Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api., Tony Lindgren, (Fri May 7, 9:25 am)
Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api., Pavel Machek, (Mon May 24, 11:57 am)
Re: [linux-pm] [PATCH 1/8] PM: Add suspend block api., Pavel Machek, (Mon May 24, 11:57 am)