From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759243Ab0E0RNc (ORCPT ); Thu, 27 May 2010 13:13:32 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:40231 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758121Ab0E0RNb convert rfc822-to-8bit (ORCPT ); Thu, 27 May 2010 13:13:31 -0400 Subject: Re: [linux-pm] [PATCH 0/8] Suspend block api (version 8) From: Peter Zijlstra To: Matthew Garrett Cc: Thomas Gleixner , Alan Cox , Arve =?ISO-8859-1?Q?Hj=F8nnev=E5g?= , Florian Mickler , Vitaly Wool , LKML , Paul@smtp1.linux-foundation.org, felipe.balbi@nokia.com, Linux OMAP Mailing List , Linux PM In-Reply-To: <20100527170740.GA1980@srcf.ucam.org> References: <20100526142430.327ccbc4@schatten.dmk.lab> <20100526141612.3e2e0443@lxorguk.ukuu.org.uk> <20100527003943.07c17f85@lxorguk.ukuu.org.uk> <20100527140655.GA28048@srcf.ucam.org> <20100527155201.GA31937@srcf.ucam.org> <20100527171615.15a1fd3d@lxorguk.ukuu.org.uk> <20100527161943.GA32764@srcf.ucam.org> <20100527170740.GA1980@srcf.ucam.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Date: Thu, 27 May 2010 19:13:11 +0200 Message-ID: <1274980391.27810.5552.camel@twins> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2010-05-27 at 18:07 +0100, Matthew Garrett wrote: > On Thu, May 27, 2010 at 07:04:38PM +0200, Thomas Gleixner wrote: > > On Thu, 27 May 2010, Matthew Garrett wrote: > > > Sure, if you're not using opportunistic suspend then I don't think > > > there's any real need for the userspace side of this. The question is > > > how to implement something with the useful properties of opportunistic > > > suspend without without implementing something pretty much equivalent to > > > the userspace suspend blockers. I've sent another mail expressing why I > > > don't think your proposed QoS style behaviour provides that. > > > > Opportunistic suspend is just a deep idle state, nothing else. > > No. The useful property of opportunistic suspend is that nothing gets > scheduled. That's fundamentally different to a deep idle state. I think Alan and Thomas but certainly I am saying is that you can get to the same state without suspend. Either you suspend (forcefully don't schedule stuff), or you end up blocking all tasks on QoS/resource limits and end up with an idle system that goes into a deep idle state (aka suspend). So why isn't blocking every task on a QoS/resource good enough for you?