From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753221AbZBPRpm (ORCPT ); Mon, 16 Feb 2009 12:45:42 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751253AbZBPRpf (ORCPT ); Mon, 16 Feb 2009 12:45:35 -0500 Received: from bombadil.infradead.org ([18.85.46.34]:41611 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751153AbZBPRpe (ORCPT ); Mon, 16 Feb 2009 12:45:34 -0500 Subject: Re: [PATCH 2/3] sched: Fix the wakeup nomination for sched_mc/smt_power_savings. From: Peter Zijlstra To: Gautham R Shenoy Cc: linux-kernel@vger.kernel.org, svaidy@linux.vnet.ibm.com, mingo@elte.hu, suresh.b.siddha@intel.com, balbir@in.ibm.com, dipankar@in.ibm.com, efault@gmx.de, andi@firstfloor.org In-Reply-To: <20090216165111.12804.41620.stgit@sofia.in.ibm.com> References: <20090216164719.12804.37013.stgit@sofia.in.ibm.com> <20090216165111.12804.41620.stgit@sofia.in.ibm.com> Content-Type: text/plain Date: Mon, 16 Feb 2009 18:45:23 +0100 Message-Id: <1234806323.30178.189.camel@laptop> Mime-Version: 1.0 X-Mailer: Evolution 2.25.90 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2009-02-16 at 22:21 +0530, Gautham R Shenoy wrote: > @@ -520,6 +520,11 @@ struct root_domain { > * low system utilisation. Triggered at POWERSAVINGS_BALANCE_WAKEUP(2) > */ > unsigned int sched_mc_preferred_wakeup_cpu; > + /* > + * The sched-domain level which is authorized to nominate the preferred > + * wake up cpu. > + */ > + enum sched_domain_level authorized_nomination_level Some day my brain is just going to explode.. ;-) Can we do a nice concise writeup of the power-save dynamics somewhere?