Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S264925AbUFDAEt (ORCPT ); Thu, 3 Jun 2004 20:04:49 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S264928AbUFDAEt (ORCPT ); Thu, 3 Jun 2004 20:04:49 -0400 Received: from fw.osdl.org ([65.172.181.6]:20662 "EHLO mail.osdl.org") by vger.kernel.org with ESMTP id S264925AbUFDAEq (ORCPT ); Thu, 3 Jun 2004 20:04:46 -0400 Date: Thu, 3 Jun 2004 17:07:25 -0700 From: Andrew Morton To: Paul Jackson Cc: linux-kernel@vger.kernel.org, ak@muc.de, ashok.raj@intel.com, hch@infradead.org, jbarnes@sgi.com, joe.korty@ccur.com, manfred@colorfullife.com, colpatch@us.ibm.com, mikpe@csd.uu.se, nickpiggin@yahoo.com.au, pj@sgi.com, rusty@rustcorp.com.au, Simon.Derr@bull.net, wli@holomorphy.com Subject: Re: [PATCH] cpumask 5/10 rewrite cpumask.h - single bitmap based implementation Message-Id: <20040603170725.4b3f8b34.akpm@osdl.org> In-Reply-To: <20040603101010.4b15734a.pj@sgi.com> References: <20040603094339.03ddfd42.pj@sgi.com> <20040603101010.4b15734a.pj@sgi.com> X-Mailer: Sylpheed version 0.9.7 (GTK+ 1.2.10; i586-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 608 Lines: 18 Paul Jackson wrote: > > Major rewrite of cpumask to use a single implementation, > as a struct-wrapped bitmap. > > ... > > +typedef struct { DECLARE_BITMAP(bits, NR_CPUS); } cpumask_t; > We avoided doing this because in some situations the compiler will not pass such a cpumask_t in a register, ever. An efficiency problem on sparc64, apparently. - 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/