From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754146AbYJUM17 (ORCPT ); Tue, 21 Oct 2008 08:27:59 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752864AbYJUM1u (ORCPT ); Tue, 21 Oct 2008 08:27:50 -0400 Received: from relay2.sgi.com ([192.48.171.30]:36399 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752790AbYJUM1s (ORCPT ); Tue, 21 Oct 2008 08:27:48 -0400 Message-ID: <48FDCAFB.3070802@sgi.com> Date: Tue, 21 Oct 2008 05:28:43 -0700 From: Mike Travis User-Agent: Thunderbird 2.0.0.6 (X11/20070801) MIME-Version: 1.0 To: Stephen Rothwell CC: Ingo Molnar , Rusty Russell , davej@codemonkey.org.uk, Jeremy Fitzhardinge , Jes Sorensen , IA64 , S390 , peterz@infradead.org, Jack Steiner , linux-kernel@vger.kernel.org, Eric Dumazet , PowerPC , Andi Kleen , Thomas Gleixner , Yinghai Lu , "H. Peter Anvin" , SPARC , Andrew Morton , David Miller Subject: Re: [PATCH 01/35] x86: clean up speedctep-centrino and reduce cpumask_t usage References: <20081020170319.539427000@polaris-admin.engr.sgi.com> <20081020170319.730428000@polaris-admin.engr.sgi.com> <20081021110925.853227d6.sfr@canb.auug.org.au> In-Reply-To: <20081021110925.853227d6.sfr@canb.auug.org.au> 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 Stephen Rothwell wrote: > Hi Mike, > > Just a first small thing: > > On Mon, 20 Oct 2008 10:03:20 -0700 Mike Travis wrote: >> 1) The #ifdef CONFIG_HOTPLUG_CPU seems unnecessary these days. >> 2) The loop can simply skip over offline cpus, rather than creating a tmp mask. >> 3) set_mask is set to either a single cpu or all online cpus in a policy. >> Since it's just used for set_cpus_allowed(), any offline cpus in a policy >> don't matter, so we can just use cpumask_of_cpu() or the policy->cpus. >> >> From: Rusty Russell >> Signed-off-by: Rusty Russell >> Signed-off-by: Mike Travis > > The From: line should be the first nonempty line in the mail to get the > attribution correct. > Ahh, ok, thanks!