Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760628AbaJ3PP7 (ORCPT ); Thu, 30 Oct 2014 11:15:59 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:38880 "EHLO relay6-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759963AbaJ3PP6 (ORCPT ); Thu, 30 Oct 2014 11:15:58 -0400 X-Originating-IP: 83.155.44.161 Message-ID: <1414682115.2406.59.camel@hadess.net> Subject: Re: A desktop environment[1] kernel wishlist From: Bastien Nocera To: "Theodore Ts'o" Cc: Pavel Machek , Andy Lutomirski , John Stultz , Linux Kernel Mailing List Date: Thu, 30 Oct 2014 16:15:15 +0100 In-Reply-To: <20141030150501.GD31927@thunk.org> References: <1413911644.30379.12.camel@hadess.net> <1413914978.30379.14.camel@hadess.net> <20141027092804.GB9807@amd> <1414420292.30379.55.camel@hadess.net> <54513DDC.2020700@amacapital.net> <20141029202616.GC5000@thunk.org> <20141029211608.GA32576@amd> <1414680302.2406.55.camel@hadess.net> <20141030150501.GD31927@thunk.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.7 (3.12.7-1.fc21) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2014-10-30 at 11:05 -0400, Theodore Ts'o wrote: > On Thu, Oct 30, 2014 at 03:45:02PM +0100, Bastien Nocera wrote: > > > Actually Maemo people (on Nokia N900 and friends) got it right: unlike > > > android devices, it does not suspend to RAM at any point, and still > > > has reasonable battery life. > > > > Android devices don't suspend to RAM. Neither do Tizen devices AFAIK. > > Actually, Android devices have historically always suspended the CPU > whenever there wasn't a wakelock keeping the device to suspend. You > might not consider this "suspend to RAM" but in fact it uses the > identical kernel and hardware facilities as the legacy "suspend to > RAM" mechanism. I wouldn't consider this "suspend to RAM", but that's because I expect the firmware to implement most of that. Anyway, that's splitting hair. > > I don't think anyone was discussing cell phones in particular in this > > thread, and knowing when user-space got woken up because of the baseband > > processor having information for us would still be useful. > > It matters because for laptops, what's important is whether the lid is > closed or not. Whether and how the laptop was "woken" is really > beside the point, as others have argued. Your counter argument is > that tablets don't have lids. But tablets are going to be using > schemes similar to Android, Tizen, and Maemo, and they are *not* going > to be using the legacy suspend-to-RAM model, because it's not > sufficiently good at power saving. There are plenty of tablets around that aren't Android devices. There are plenty of laptops that can be switched to a tablet mode for which this wouldn't apply either. -- 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/