From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KEU95-0001rV-Er for mharc-grub-devel@gnu.org; Thu, 03 Jul 2008 15:07:07 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KEU93-0001qg-Ij for grub-devel@gnu.org; Thu, 03 Jul 2008 15:07:05 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KEU91-0001pl-1h for grub-devel@gnu.org; Thu, 03 Jul 2008 15:07:04 -0400 Received: from [199.232.76.173] (port=47455 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEU90-0001pi-V9 for grub-devel@gnu.org; Thu, 03 Jul 2008 15:07:02 -0400 Received: from mta-out.inet.fi ([195.156.147.13]:52127 helo=jenni2.rokki.sonera.fi) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KEU90-0003F5-Ah for grub-devel@gnu.org; Thu, 03 Jul 2008 15:07:02 -0400 Received: from [127.0.0.1] (88.193.32.97) by jenni2.rokki.sonera.fi (8.5.014) id 483E832F018E6332 for grub-devel@gnu.org; Thu, 3 Jul 2008 22:07:01 +0300 Message-ID: <486D2358.1030501@nic.fi> Date: Thu, 03 Jul 2008 22:07:04 +0300 From: =?ISO-8859-1?Q?Vesa_J=E4=E4skel=E4inen?= User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: The development of GRUB 2 References: <1214964880.7362.17.camel@dv> <1214966028.9353.95.camel@localhost> <20080702002031.7gkuoel14wg80c0k-cebfxv@webmail.spamcop.net> <486BBEF1.6000105@nic.fi> <1215021108.29069.4.camel@dv> <87bq1e7so2.fsf@xs4all.nl> <1215109795.4585.17.camel@dv> <486D1D8B.6040300@nic.fi> <1215111146.4585.40.camel@dv> In-Reply-To: <1215111146.4585.40.camel@dv> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: Quoted-Printable X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Subject: Re: Eliminating grub_size_t 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: Thu, 03 Jul 2008 19:07:05 -0000 Pavel Roskin wrote: > On Thu, 2008-07-03 at 21:42 +0300, Vesa J=E4=E4skel=E4inen wrote: >=20 >>> I think I'll try to make grub_size_t 32-bit everywhere and see if it'= s >>> going to make any difference or help discover some issues. >> Why? I would let it be optimal type for current memory bus width. >=20 > int is supposed to be the optimal type, and int is 32-bit on 64-bit > platforms we support. As far as I know, the x86_64 machine code > actually defaults to 32-bit for all arguments except memory addresses. And size_t is kinda connected to memory addresses. Do you agree :) ?