Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759305Ab0FJOrd (ORCPT ); Thu, 10 Jun 2010 10:47:33 -0400 Received: from iolanthe.rowland.org ([192.131.102.54]:40275 "HELO iolanthe.rowland.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1758911Ab0FJOrc (ORCPT ); Thu, 10 Jun 2010 10:47:32 -0400 Date: Thu, 10 Jun 2010 10:47:31 -0400 (EDT) From: Alan Stern X-X-Sender: stern@iolanthe.rowland.org To: "Rafael J. Wysocki" cc: Neil Brown , Felipe Contreras , Andrew Morton , Linus Torvalds , , Florian Mickler , Vitaly Wool , Brian Swetland , Arve =?iso-8859-1?q?Hj=F8nnev=E5g?= , Arjan van de Ven , , Peter Zijlstra , "H. Peter Anvin" , LKML , James Bottomley , Alan Cox , Linux PM , Ingo Molnar , Linux OMAP Mailing List , Thomas Gleixner , Felipe Balbi Subject: Re: [linux-pm] suspend blockers & Android integration In-Reply-To: <201006101059.44411.rjw@sisk.pl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1185 Lines: 26 On Thu, 10 Jun 2010, Rafael J. Wysocki wrote: > Moreover, having thought a bit more about the "power manager in user space" > concept I'm not sure if it really is that better than the original wakelocks > idea. Namely, it only repaces a kernel-based mechanism with a user space > task doing basically the same thing, but the communication between that task > and the other cooperating user space tasks is arguably more complicated (it > also uses the kernel resources, although indirectly). That is all true. The "power manager in userspace" was meant to prove a point: that this _could_ be done without invasive changes to the kernel. It wasn't necessarily meant to be a _better_ solution. > So, for a phone-like system, where you'd generally want to simplify user space, > having a "power manager" in the kernel seems to make sense to me. This is a judgment call. Obviously different people have different opinions. Alan Stern -- 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/