From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933114Ab0E0R6h (ORCPT ); Thu, 27 May 2010 13:58:37 -0400 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:55515 "EHLO www.etchedpixels.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753843Ab0E0R6g (ORCPT ); Thu, 27 May 2010 13:58:36 -0400 Date: Thu, 27 May 2010 19:05:15 +0100 From: Alan Cox To: Matthew Garrett Cc: Peter Zijlstra , Thomas Gleixner , Alan Stern , Paul@smtp1.linux-foundation.org, LKML , Florian Mickler , felipe.balbi@nokia.com, Linux OMAP Mailing List , Linux PM Subject: Re: [linux-pm] [PATCH 0/8] Suspend block api (version 8) Message-ID: <20100527190515.08be091a@lxorguk.ukuu.org.uk> In-Reply-To: <20100527174019.GA3187@srcf.ucam.org> References: <20100527173118.GE2468@srcf.ucam.org> <1274981680.27810.5636.camel@twins> <20100527174019.GA3187@srcf.ucam.org> X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.9; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 27 May 2010 18:40:19 +0100 Matthew Garrett wrote: > On Thu, May 27, 2010 at 07:34:40PM +0200, Peter Zijlstra wrote: > > > we still need to be able to enter suspend while the system isn't idle. > > > > _WHY_!? > > Because if I'm running a kernel build in a tmpfs and I hit the sleep > key, I need to go to sleep. Blocking processes on driver access isn't > sufficient. Suspend as an idle state Suspend as a 'hand of God' choice. One is a performance optimisation the other is an operator executive decision. I'd prefer we avoided mixing them up. Everyone seems fairly happy with the current operator ordered suspend behaviour I believe ?