Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422902AbWBATjR (ORCPT ); Wed, 1 Feb 2006 14:39:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1422899AbWBATjR (ORCPT ); Wed, 1 Feb 2006 14:39:17 -0500 Received: from palrel10.hp.com ([156.153.255.245]:63116 "EHLO palrel10.hp.com") by vger.kernel.org with ESMTP id S1422898AbWBATjQ (ORCPT ); Wed, 1 Feb 2006 14:39:16 -0500 Date: Wed, 1 Feb 2006 11:39:33 -0800 From: Grant Grundler To: "Chen, Kenneth W" Cc: "'Christoph Hellwig'" , "'Akinobu Mita'" , Grant Grundler , Linux Kernel Development , linux-ia64@vger.kernel.org Subject: Re: [PATCH 1/12] generic *_bit() Message-ID: <20060201193933.GA16471@esmail.cup.hp.com> References: <20060201180237.GA18464@infradead.org> <200602011807.k11I7ag15563@unix-os.sc.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200602011807.k11I7ag15563@unix-os.sc.intel.com> User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 662 Lines: 16 On Wed, Feb 01, 2006 at 10:07:28AM -0800, Chen, Kenneth W wrote: > I think these should be defined to operate on arrays of unsigned int. > Bit is a bit, no matter how many byte you load (8/16/32/64), you can > only operate on just one bit. Well, if it doesn't matter, why is unsigned int better? unsigned long is typically the native register size, right? I'd expect that to be more efficient on most arches. grant - 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/