From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757681Ab0E2XAR (ORCPT ); Sat, 29 May 2010 19:00:17 -0400 Received: from crca.org.au ([74.207.252.120]:51585 "EHLO crca.org.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756845Ab0E2XAP (ORCPT ); Sat, 29 May 2010 19:00:15 -0400 X-Bogosity: Ham, spamicity=0.000000 Message-ID: <4C019C75.6020000@crca.org.au> Date: Sun, 30 May 2010 09:00:05 +1000 From: Nigel Cunningham User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Arve_Hj=F8nnev=E5g?= CC: Alan Stern , Peter Zijlstra , Brian Swetland , Ingo Molnar , LKML , Florian Mickler , Linux PM , Thomas Gleixner , Alan Cox Subject: Re: [linux-pm] [PATCH 0/8] Suspend block api (version 8) References: <20100529131810.5bb51bdd@schatten.dmk.lab> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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