Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933806Ab0FFLE3 (ORCPT ); Sun, 6 Jun 2010 07:04:29 -0400 Received: from mail-gw0-f46.google.com ([74.125.83.46]:45750 "EHLO mail-gw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756015Ab0FFLE0 (ORCPT ); Sun, 6 Jun 2010 07:04:26 -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=sz7UUdubO2Vs+NvA/dR33kVpBEl5kkEaspl7RDOko5EO7ZgOAbs294OrlwSVYRixfG t1awd5p0xjDxgsZzAUT/d8YxXFJ0GOsd3SUZ1B3CHZATXcDZ/EQC0JkZmD7ouplzYtsn nY1V299DqjmM70b3PGbcyrKEngSrUmWwAtnc4= MIME-Version: 1.0 In-Reply-To: <20100606124949.539fa636@schatten.dmk.lab> References: <20100603193045.GA7188@elte.hu> <20100604071354.GA14451@elte.hu> <20100604083423.GD15181@elte.hu> <1275653210.27810.39762.camel@twins> <1275731653.27810.41078.camel@twins> <20100605092851.6ee15f13@infradead.org> <20100606124949.539fa636@schatten.dmk.lab> Date: Sun, 6 Jun 2010 12:57:10 +0200 Message-ID: Subject: Re: [linux-pm] suspend blockers & Android integration From: Vitaly Wool To: Florian Mickler Cc: david@lang.hm, Brian Swetland , =?ISO-8859-1?Q?Arve_Hj=F8nnev=E5g?= , Arjan van de Ven , tytso@mit.edu, 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=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 945 Lines: 23 2010/6/6 Florian Mickler : > Suspend_blockers allow the system to suspend ("mem">/sys/power/state > suspend), when the userspace decides that the device is not in use. Sorry. What? Blockers allow the system to suspend? > So implementing suspend_blockers support does not impact any > optimizations done to either system A nor system B. Suspend blockers by themselves are of no use. Completely. So any talks on suspend blockers separated from the sleep policy are completely pointless. The suspend blockers are of use when the userspace tries to blindly freeze the tasks to enter the suspend state. This way of hammering the system down obviously impacts everything. ~Vitaly -- 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/