Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752662Ab0FGKZ5 (ORCPT ); Mon, 7 Jun 2010 06:25:57 -0400 Received: from mail-ew0-f223.google.com ([209.85.219.223]:53282 "EHLO mail-ew0-f223.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751429Ab0FGKZz (ORCPT ); Mon, 7 Jun 2010 06:25:55 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=EsYOKfhadcd5thlhuyBf3GMK8nxOuiuPV034E4pY/brSEvawpgFzYTRITw5NR89BYI 1iRGJY26DeuMK/Do/dPGE8UN2oxv8OI+qmSYMntTNDOwd9pdvr+i0NaHGdlNL9hdguMW PgC+D7tpYmjxgT8SuURj8K+HCaRLwF1c5d8R8= MIME-Version: 1.0 In-Reply-To: <20100606173146.GA13432@srcf.ucam.org> References: <20100606133130.GA8513@srcf.ucam.org> <20100606152946.GA11351@srcf.ucam.org> <20100606164326.GA12570@srcf.ucam.org> <20100606173146.GA13432@srcf.ucam.org> Date: Mon, 7 Jun 2010 13:25:53 +0300 Message-ID: Subject: Re: [linux-pm] suspend blockers & Android integration From: Felipe Contreras To: Matthew Garrett Cc: Vitaly Wool , Brian Swetland , =?UTF-8?B?QXJ2ZSBIasO4bm5ldsOlZw==?= , Arjan van de Ven , tytso@mit.edu, Florian Mickler , Peter Zijlstra , "H. Peter Anvin" , LKML , Neil Brown , James Bottomley , Alan Cox , Linux PM , Ingo Molnar , Linux OMAP Mailing List , Linus Torvalds , Thomas Gleixner , Felipe Balbi Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1122 Lines: 27 2010/6/6 Matthew Garrett : > On Sun, Jun 06, 2010 at 07:21:49PM +0200, Vitaly Wool wrote: >> 2010/6/6 Matthew Garrett : >> >> > Suspend blocks prevent system suspend, not any per-device suspend. >> >> Can you suspend a device which is holding a wake lock? > > Yes. Suspend blocks are orthogonal to runtime PM. In that sense yes, but as it has been stated before; if Android user-space concentrates on getting suspend blockers right, then the timers in user-space will not be aligned correctly, and runtime PM wouldn't work that great. Moreover, opportunistic suspend takes the device out of idle. So, as runtime PM gets better, there's a point where opportunistic suspend makes the situation worst. So they are _mostly_ orthogonal, but not completely, at least for the analysis of suspend blockers' usefulness. -- Felipe Contreras -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/