Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751320AbaDZGRv (ORCPT ); Sat, 26 Apr 2014 02:17:51 -0400 Received: from mail-ee0-f48.google.com ([74.125.83.48]:35255 "EHLO mail-ee0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750718AbaDZGRt (ORCPT ); Sat, 26 Apr 2014 02:17:49 -0400 Date: Sat, 26 Apr 2014 08:17:44 +0200 From: Ingo Molnar To: "Rafael J. Wysocki" Cc: Peter Zijlstra , Amit Kucheria , Daniel Lezcano , Ingo Molnar , Lists linaro-kernel , Linux PM list , Linux Kernel Mailing List Subject: Re: [PATCH 2/3] sched: idle: Add sched balance option Message-ID: <20140426061744.GB1944@gmail.com> References: <1398342291-16322-1-git-send-email-daniel.lezcano@linaro.org> <2713863.BLQTYQm2Oa@vostro.rjw.lan> <20140425132055.GC11096@twins.programming.kicks-ass.net> <15044031.LGKXdkz8J7@vostro.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15044031.LGKXdkz8J7@vostro.rjw.lan> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Rafael J. Wysocki wrote: > > > Well, so now the question is whether or not we relly want to > > > always go to the "power" (or "energy efficiency" if you will) > > > mode if the system is on battery. That arguably may not be a > > > good thing even for energy efficiency depending on how exactly > > > the modes are defined. > > > > Nobody is talking about always. But in general it seems a good > > enough approach. Hell, many of the AC/BAT switches in todays power > > management crap things are not always right. > > > > Do I want it to dim the LCD further when I unplug the laptop -- > > mostly no, but still it does. And the most annoying one is that it > > reduces the screen blank time to something near 5 seconds or so. > > > > Why would this be any different? > > And why do we have to do things that we hate it when they are done > by others? He replied to your question of 'do we want to act on power events'. The answer is: yes, from the scheduler point of view we want to act on power events by default, and if a user does not want that default behavior, it's not an unprecedented request and GUIs offer various ways to tweak screen dimming and other power saving details. So "trying to save power" is the default everywhere, and the scheduler wants to do the same. The main reason we couldn't do this before was that the scheduler's 'power saving mode' was dysfunctional. That is being fixed. So lets try this, it's high time. Thanks, Ingo -- 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/