From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757414Ab0E0HmR (ORCPT ); Thu, 27 May 2010 03:42:17 -0400 Received: from mail-gy0-f174.google.com ([209.85.160.174]:49688 "EHLO mail-gy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751000Ab0E0HmP convert rfc822-to-8bit (ORCPT ); Thu, 27 May 2010 03:42:15 -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:content-transfer-encoding; b=jJ+yAHlzJSAO2B9NidOxlAbN3dC0ke0zHGyqGxkN4tIvSzVkK5k3+0IRHQfMHXsXRP HfSCJ0QQ0lGp5CJ1jhuQ+XVuyO6HPniH7iHP2BSpD8BVfM3NtXoM5168BfJPpzQxI5il wY+cSPQSYF9oa+kJpVBzr61m4jEBZf5hMWjxs= MIME-Version: 1.0 In-Reply-To: References: <1274482015-30899-1-git-send-email-arve@android.com> <201005242049.18920.rjw@sisk.pl> <87wrusvrqe.fsf@deeprootsystems.com> <201005250138.16293.rjw@sisk.pl> <1274863655.5882.4875.camel@twins> <1274867106.5882.5090.camel@twins> <20100526120242.5c9b73ad@schatten.dmk.lab> <20100526133721.602633b2@schatten.dmk.lab> <20100526142430.327ccbc4@schatten.dmk.lab> <20100526141612.3e2e0443@lxorguk.ukuu.org.uk> Date: Thu, 27 May 2010 09:42:14 +0200 Message-ID: Subject: Re: [linux-pm] [PATCH 0/8] Suspend block api (version 8) From: Vitaly Wool To: =?ISO-8859-1?Q?Arve_Hj=F8nnev=E5g?= Cc: Alan Cox , Florian Mickler , Peter Zijlstra , LKML , Paul@smtp1.linux-foundation.org, felipe.balbi@nokia.com, Linux OMAP Mailing List , Linux PM Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2010/5/27 Arve Hjønnevåg : > On Wed, May 26, 2010 at 6:16 AM, Alan Cox wrote: >>> Really, what are you getting at? Do you deny that there are programs, >>> that prevent a device from sleeping? (Just think of the bouncing >>> cows app) >>> >>> And if you have two kernels, one with which your device is dead after 1 >>> hour and one with which your device is dead after 10 hours. Which would >>> you prefer? I mean really... this is ridiculous. >> >> The problem you have is that this is policy. If I have the device wired >> to a big screen and I want cows bouncing on it I'll be most upset if >> instead it suspends. > > We never suspend when the screen is on. If the screen is off, I would > not be upset if it suspends. That's /wrong/. What if you have an active download ongoing when the screen is off? This ugly simplistic approach is one of the worst things in Android. ~Vitaly