Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756053Ab2FNOre (ORCPT ); Thu, 14 Jun 2012 10:47:34 -0400 Received: from gw3a.telemetry-investments.com ([38.76.0.51]:32858 "EHLO sv3.telemetry-investments.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753835Ab2FNOrd (ORCPT ); Thu, 14 Jun 2012 10:47:33 -0400 X-Greylist: delayed 365 seconds by postgrey-1.27 at vger.kernel.org; Thu, 14 Jun 2012 10:47:33 EDT Date: Thu, 14 Jun 2012 10:41:27 -0400 From: "Andrew J. Schorr" To: ShuoX Liu Cc: "linux-kernel@vger.kernel.org" , Andrew Morton , "Brown, Len" , "Zhang, Yanmin" , Deepthi Dharwar Subject: Re: [PATCH] cpuidle: move field disable from per-driver to per-cpu Message-ID: <20120614144127.GA2612@ti119.telemetry-investments.com> References: <4FD95200.1090701@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FD95200.1090701@intel.com> 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 Content-Length: 912 Lines: 22 Hi, On Thu, Jun 14, 2012 at 10:52:48AM +0800, ShuoX Liu wrote: > Andrew J.Schorr raises a question. When he changes the disable setting > on a single CPU, it affects all the other CPUs. Basically, currently, > the disable field is per-driver instead of per-cpu. All the C states of > the same driver are shared by all CPU in the same machine. > > Below patch changes field disable to per-cpu, so we could set this > separately for each cpu. Thanks. I have not tested this, but it looks very useful to have the flexibility to disable certain C states on a subset of the cores. The current implementation affecting all cores is much less powerful. Thanks, Andrew -- 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/