From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752986AbYIVPpG (ORCPT ); Mon, 22 Sep 2008 11:45:06 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752776AbYIVPo4 (ORCPT ); Mon, 22 Sep 2008 11:44:56 -0400 Received: from relay1.sgi.com ([192.48.171.29]:42274 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752736AbYIVPoz (ORCPT ); Mon, 22 Sep 2008 11:44:55 -0400 Message-ID: <48D7BD75.2050803@sgi.com> Date: Mon, 22 Sep 2008 08:44:53 -0700 From: Mike Travis User-Agent: Thunderbird 2.0.0.6 (X11/20070801) MIME-Version: 1.0 To: Ingo Molnar CC: Rusty Russell , Dean Nelson , "Eric W. Biederman" , "H. Peter Anvin" , Jack Steiner , Alan Mayer , jeremy@goop.org, suresh.b.siddha@intel.com, torvalds@linux-foundation.org, linux-kernel@vger.kernel.org, Thomas Gleixner , Yinghai Lu Subject: Re: [PATCH 1/3] switch vector_irq[] from irq number to irq_desc pointer v2 References: <20080919200212.GA6528@sgi.com> <20080919200449.GB6528@sgi.com> <48D40A97.2000402@sgi.com> <20080922110542.GD5987@elte.hu> <48D7B5F8.9020300@sgi.com> In-Reply-To: <48D7B5F8.9020300@sgi.com> 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 Mike Travis wrote: > Ingo Molnar wrote: >> * Mike Travis wrote: >> >>> Hi Ingo, >>> >>> Note that my recent patch from a couple of weeks ago, stripped almost >>> all of the cpumask_t's from the io_apic functions. Any chance we can >>> apply them before we add more? >>> >>> I'd be willing to merge in Dean's patch over the top of mine (or >>> vice-versa). >> i'm really looking forwards to Rusty's 'get-rid-of-cpumask_t use' >> patchset, which would solve such cpumask_t proliferation issues once and >> for all. >> >> Ingo > > Hi Ingo, > > The net effect of the "getting rid of cpumask_t's" will be the same. This > patch reduces considerably the amount of stack space being required right > now. Btw, my patch will still be useful even after cpumask's are passed by reference in that it optimizes the cpumask's that are being used. For example, in one function 3 cpumask_t's become 1. In some others, 2 were reduced to 1. Since the new cpumask approach will require temp cpumask's, this cuts down on the number of temp cpumask's required. Thanks, Mike