From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751141AbWBBAII (ORCPT ); Wed, 1 Feb 2006 19:08:08 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751178AbWBBAIH (ORCPT ); Wed, 1 Feb 2006 19:08:07 -0500 Received: from palrel10.hp.com ([156.153.255.245]:55751 "EHLO palrel10.hp.com") by vger.kernel.org with ESMTP id S1751098AbWBBAIG (ORCPT ); Wed, 1 Feb 2006 19:08:06 -0500 Date: Wed, 1 Feb 2006 16:08:20 -0800 From: Grant Grundler To: Anton Altaparmakov Cc: Grant Grundler , "Chen, Kenneth W" , "'Christoph Hellwig'" , "'Akinobu Mita'" , Linux Kernel Development , linux-ia64@vger.kernel.org Subject: Re: [PATCH 1/12] generic *_bit() Message-ID: <20060202000820.GI16471@esmail.cup.hp.com> References: <20060201193933.GA16471@esmail.cup.hp.com> <200602012141.k11LfCg32497@unix-os.sc.intel.com> <20060201220903.GE16471@esmail.cup.hp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 01, 2006 at 10:49:08PM +0000, Anton Altaparmakov wrote: > Err, searching by anything other than bytes is useless for a file system > driver. Otherwise you get all sorts of disgustingly horrible allocation > patterns depending on the endianness of the machine... Well, tell that to ext2/3 maintainers since they introduced the ext2_test_bit() and friends. They do require LE handling of the bit array since that's an on-disk format. See how big endian machines (parisc/ppc/sparc/etc) deal with it in asm/bitops.h. grant