Re: [linux-pm] [PATCH 0/8] Suspend block api (version 8)

Nigel Cunningham
2010-05-29T23:00:17Z

Hi.

I like the sound of this much better too, but...

On 30/05/10 08:13, Arve Hjønnevåg wrote:
> On Sat, May 29, 2010 at 7:10 AM, Alan Stern<stern@rowland.harvard.edu> wrote:
>> There is no /sys/power/policy file. In place of opportunistic suspend,
>> we have "QoS-based suspend". This is initiated by userspace writing
>> "qos" to /sys/power/state, and it is very much like suspend-to-RAM.
>
> Why do you want to tie it to a specific state?

I do agree here. I would suggest that all /sys/power/state possibilities
should have a qos- equivalent. You might not want to use any or all of
them, but they should be available.

Regards,

Nigel