Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754960Ab2HOOrd (ORCPT ); Wed, 15 Aug 2012 10:47:33 -0400 Received: from www.linutronix.de ([62.245.132.108]:37521 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754677Ab2HOOrc (ORCPT ); Wed, 15 Aug 2012 10:47:32 -0400 Date: Wed, 15 Aug 2012 16:47:15 +0200 (CEST) From: Thomas Gleixner To: Peter Zijlstra cc: Arjan van de Ven , Alex Shi , Suresh Siddha , vincent.guittot@linaro.org, svaidy@linux.vnet.ibm.com, Ingo Molnar , Andrew Morton , Linus Torvalds , "linux-kernel@vger.kernel.org" , Paul Turner Subject: Re: [discussion]sched: a rough proposal to enable power saving in scheduler In-Reply-To: <1345041897.31459.95.camel@twins> Message-ID: References: <5028F12C.7080405@intel.com> <1345028738.31459.82.camel@twins> <502BB000.60502@linux.intel.com> <1345041897.31459.95.camel@twins> User-Agent: Alpine 2.02 (LFD 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 767 Lines: 18 On Wed, 15 Aug 2012, Peter Zijlstra wrote: > On Wed, 2012-08-15 at 07:19 -0700, Arjan van de Ven wrote: > > Ideally the scheduler builds up some history of the typical run > > duration of the task (with a bias to more recent runs). > > But... even then, the past is only a poor predictor for the future. > > PJTs patches do this. But yes, a crystal-ball instruction which > completes in a single cycle would be most appreciated :-) You could ask the S390 folks whether they could whip one up for proof of concept. :) -- 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/