From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758149Ab0E0P0p (ORCPT ); Thu, 27 May 2010 11:26:45 -0400 Received: from earthlight.etchedpixels.co.uk ([81.2.110.250]:50018 "EHLO www.etchedpixels.co.uk" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756763Ab0E0P0n (ORCPT ); Thu, 27 May 2010 11:26:43 -0400 Date: Thu, 27 May 2010 16:33:59 +0100 From: Alan Cox To: Peter Zijlstra Cc: Alan Stern , Thomas Gleixner , Arve =?ISO-8859-14?B?SGr4bm5lduVn?= , 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: <20100527163359.23e83bdd@lxorguk.ukuu.org.uk> In-Reply-To: <1274972956.27810.5161.camel@twins> References: <1274972956.27810.5161.camel@twins> 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 17:09:16 +0200 Peter Zijlstra wrote: > On Thu, 2010-05-27 at 11:06 -0400, Alan Stern wrote: > > > > Opportunistic suspends are okay. > > > > The proposed userspace API is too Android-specific. > > I would argue opportunistic suspends are not ok, and therefore the > proposed API is utterly irrelevant. Assuming you are happy that opportunistically entering C6 and the like is ok via ACPI can you explain why you have a problem with opportunistic suspend and why it is different to a very deep sleep CPU state such as we have now (and which on many embedded platforms we deal with *is* sleeping external devices too) Alan