Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756547Ab2HUPZR (ORCPT ); Tue, 21 Aug 2012 11:25:17 -0400 Received: from mga02.intel.com ([134.134.136.20]:55134 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755840Ab2HUPZN (ORCPT ); Tue, 21 Aug 2012 11:25:13 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.77,802,1336374000"; d="scan'208";a="189333803" Message-ID: <5033A790.2060004@linux.intel.com> Date: Tue, 21 Aug 2012 08:21:52 -0700 From: Arjan van de Ven User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: Ingo Molnar CC: Matthew Garrett , Peter Zijlstra , Alex Shi , Suresh Siddha , vincent.guittot@linaro.org, svaidy@linux.vnet.ibm.com, Andrew Morton , Linus Torvalds , "linux-kernel@vger.kernel.org" , Thomas Gleixner , Paul Turner Subject: Re: [discussion]sched: a rough proposal to enable power saving in scheduler References: <1345028738.31459.82.camel@twins> <502BA7DC.7060907@linux.intel.com> <1345041548.31459.90.camel@twins> <502BB5A3.5000403@linux.intel.com> <1345043096.31459.106.camel@twins> <502BE38D.9030405@linux.intel.com> <20120820080606.GA6931@gmail.com> <20120820181651.GA737@srcf.ucam.org> <20120821094203.GB12385@gmail.com> <20120821113951.GA22436@srcf.ucam.org> <20120821151910.GA5359@gmail.com> In-Reply-To: <20120821151910.GA5359@gmail.com> X-Enigmail-Version: 1.4.3 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1247 Lines: 35 >>> A modern kernel better know what state the system is in: on >>> battery or on AC power. >> >> That's a fundamentally uninteresting thing for the kernel to >> know about. [...] > > I disagree. and I'll agree with Matthew and disagree with you ;-) > >> [...] AC/battery is just not an important power management >> policy input when compared to various other things. > > Such as? > > The thing is, when I use Linux on a laptop then AC/battery is > *the* main policy input. I think you're wrong there. First of all, not the whole world is a laptop. Phones and servers are very different than laptops in this sense. In a phone, when you're charging, you want to be EXTRA power efficient in many ways (since charging creates heat, and that heat will take away your thermal budget). In a datacenter, you're either on AC or DC all the time, and power efficiency still matters. And even on a laptop.. heat production matters even when on AC... laptops are more and more like phones that way. -- 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/