From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KHNQn-0002oZ-9q for mharc-grub-devel@gnu.org; Fri, 11 Jul 2008 14:33:21 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KHNQj-0002lR-3E for grub-devel@gnu.org; Fri, 11 Jul 2008 14:33:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KHNQh-0002jW-9L for grub-devel@gnu.org; Fri, 11 Jul 2008 14:33:15 -0400 Received: from [199.232.76.173] (port=45192 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KHNQf-0002iV-O7 for grub-devel@gnu.org; Fri, 11 Jul 2008 14:33:13 -0400 Received: from c60.cesmail.net ([216.154.195.49]:64191) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_SHA1:16) (Exim 4.60) (envelope-from ) id 1KHNQe-0003ad-NE for grub-devel@gnu.org; Fri, 11 Jul 2008 14:33:13 -0400 Received: from unknown (HELO relay.cesmail.net) ([192.168.1.81]) by c60.cesmail.net with ESMTP; 11 Jul 2008 14:33:11 -0400 Received: from [192.168.0.21] (static-72-92-88-10.phlapa.fios.verizon.net [72.92.88.10]) by relay.cesmail.net (Postfix) with ESMTP id 500CB4F1869 for ; Fri, 11 Jul 2008 14:33:11 -0400 (EDT) From: Pavel Roskin To: The development of GRUB 2 In-Reply-To: <48775E47.8010307@t-online.de> References: <1215264476.26019.160.camel@localhost> <1215293427.17114.2.camel@dv> <1215298499.26019.192.camel@localhost> <20080706183042.GA22023@thorin> <1215374534.26019.194.camel@localhost> <48726DB3.9000809@t-online.de> <4873AC32.3060004@t-online.de> <1215586047.31230.27.camel@dv> <1KGZ7b-1EcJsG0@fwd32.aul.t-online.de> <1215626250.26246.9.camel@dv> <48766231.9050006@t-online.de> <20080711045342.b0nyj58aduwo0co8-cebfxv@webmail.spamcop.net> <20080711050758.mg9lg38ioksocosw-cebfxv@webmail.spamcop.net> <48775E47.8010307@t-online.de> Content-Type: text/plain Date: Fri, 11 Jul 2008 14:33:10 -0400 Message-Id: <1215801190.30367.3.camel@dv> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) Content-Transfer-Encoding: 7bit X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. Subject: Re: Endianness macros capitalization X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2008 18:33:19 -0000 On Fri, 2008-07-11 at 15:21 +0200, Christian Franke wrote: > Very nice optimization idea! > > The practical advantage is probably limited by the fact that kernel.img > and most of the modules typically included in a i386-pc core.img are not > affected. > > I attached a diff of "size *.mod" outputs for the test mentioned in my > last mail. '-' original code, '+' grub_swap_*() replaced by dummies. > Large savings potential is in afs.mod, hfs*.mod, and xfs.mod. ... > - 4980 40 16 5036 13ac xfs.mod > + 2924 40 16 2980 ba4 xfs.mod It is a big deal for xfs users. Even more so for gpt+raid+lvm+xfs users, who are against the wall :-) -- Regards, Pavel Roskin