From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 0/2] cramfs: Add mount option "swapendian" Date: Thu, 15 Nov 2007 20:49:38 +0000 Message-ID: <20071115204938.GA30727@infradead.org> References: <200711152129.25686.lists-receive@programmierforen.de> <200711152135.16932.lists-receive@programmierforen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Andi Drebes , linux-fsdevel@vger.kernel.org, Christoph Hellwig , Andrew Morton To: Linus Torvalds Return-path: Received: from pentafluge.infradead.org ([213.146.154.40]:36835 "EHLO pentafluge.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754962AbXKOUtm (ORCPT ); Thu, 15 Nov 2007 15:49:42 -0500 Content-Disposition: inline In-Reply-To: Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Thu, Nov 15, 2007 at 12:45:20PM -0800, Linus Torvalds wrote: > Please don't do it this way. > > It would be *much* better to just standardize on one endianness, and be > done with it. That way there are no config options, no confusion, and the > code is smaller, simpler, and faster. Because nn unconditional byte swap > is generally faster than a conditional non-byte-swap! > > So can you please just make it little-endian? > > There can't be that many big-endian machines that really care about old > cramfs images.. Actually there are as lots of initrd are cramfs. This means you'd need to update mkcramfs all big endian machines out there.