From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932351AbcCHH7f (ORCPT ); Tue, 8 Mar 2016 02:59:35 -0500 Received: from www.linutronix.de ([62.245.132.108]:49243 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932180AbcCHH7U (ORCPT ); Tue, 8 Mar 2016 02:59:20 -0500 Date: Tue, 8 Mar 2016 08:57:54 +0100 (CET) From: Thomas Gleixner To: Jacob Pan cc: LKML , Linux PM , Rafael Wysocki , Srinivas Pandruvada , Andrew Morton , "David S. Miller" , Rusty Russell Subject: Re: [PATCH v6 0/4] powercap/rapl: reduce ipi calls and misc clean up In-Reply-To: <20160307170642.31af8b7e@icelake> Message-ID: References: <1456349498-1527-1-git-send-email-jacob.jun.pan@linux.intel.com> <20160307170642.31af8b7e@icelake> User-Agent: Alpine 2.11 (DEB 23 2013-08-11) 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,URIBL_BLOCKED=0.001 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 7 Mar 2016, Jacob Pan wrote: > On Wed, 24 Feb 2016 13:31:34 -0800 > Jacob Pan wrote: > > > Changes since v5: > > - Split changes into seprate patches. No code change. > > Changes since V4: > > - Deleted unnecessary cpumask_any_and() call, assign first > > cpu as lead Changes since V3: > > - Avoid for_each_online_cpu() search for per package MSR > > access. This is achieved by tracking a per package lead cpu via > > cpumask_xx() calls. (suggested by Thomas Gleixner > > ) > > - Add direct reference of RAPL package for each RAPL > > domain. > > > > Jacob Pan (4): > > cpumask: export cpumask_any_but > > powercap/rapl: reduce ipi calls > > powercap/rapl: add package reference per domain > > powercap/rapl: track lead cpu per package > > > > drivers/powercap/intel_rapl.c | 220 > > ++++++++++++++++++++++-------------------- > > lib/cpumask.c | 1 + 2 files changed, 115 > > insertions(+), 106 deletions(-) > > > Hi Thomas, > > Do you have more comments? No. Looks reasonable now.