From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1DrxzU-0000ty-GU for mharc-grub-devel@gnu.org; Mon, 11 Jul 2005 09:06:32 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DrxzR-0000ru-Qb for grub-devel@gnu.org; Mon, 11 Jul 2005 09:06:30 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DrxzP-0000rB-Dk for grub-devel@gnu.org; Mon, 11 Jul 2005 09:06:29 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DrxuZ-0007jK-0n for grub-devel@gnu.org; Mon, 11 Jul 2005 09:01:27 -0400 Received: from [145.74.66.11] (helo=mail-cn.han.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DrxxM-0006DS-Bh for grub-devel@gnu.org; Mon, 11 Jul 2005 09:04:20 -0400 Received: from vscan-cn.han.nl (venus.han.nl [145.74.65.6]) by mail-cn.han.nl (Postfix) with ESMTP id 3C59B88E2 for ; Mon, 11 Jul 2005 14:56:42 +0200 (CEST) Received: from mail-cn.han.nl ([145.74.66.11]) by vscan-cn.han.nl (venus.han.nl [145.74.65.6]) (amavisd-new, port 10024) with ESMTP id 32011-04 for ; Mon, 11 Jul 2005 14:02:55 +0200 (CEST) Received: from mail1.han.nl (mail1.han.nl [145.74.103.11]) by mail-cn.han.nl (Postfix) with ESMTP id 229EA83D2 for ; Mon, 11 Jul 2005 14:56:40 +0200 (CEST) Received: from localhost.localdomain (mgerards.xs4all.nl [82.92.27.129]) by mail1.han.nl (Postfix) with ESMTP id DE02AC045 for ; Mon, 11 Jul 2005 14:56:39 +0200 (CEST) Mail-Copies-To: metgerards@student.han.nl To: The development of GRUB 2 References: <42D26452.3010706@yahoo.fr> From: Marco Gerards Date: Mon, 11 Jul 2005 14:56:40 +0200 In-Reply-To: <42D26452.3010706@yahoo.fr> (Vincent Pelletier's message of "Mon, 11 Jul 2005 14:21:38 +0200") Message-ID: <87eka5tsaf.fsf@student.han.nl> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new (2.2.0) at vscan-cn.han.nl Subject: Re: [PATCH] Huge changes in mm.c 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: Mon, 11 Jul 2005 13:06:30 -0000 Vincent Pelletier writes: Hi Vincent, > I've added a defrag function that merges consecutive free chunks. It's > pretty fast (O(N), N=number of chunks) but I only call it when needed... > Maybe could it be interesting to call it on each grub_free(). What do you mean with defragmenting? I think you mean joining freed regions, which should be done at the time it is freed. I always thought that was the case already. For the other changes I will wait for the comments of Okuji, he wrote the old code. But it always works on the PPC and x86, it sounds like a 64 bits problem to me... -- Marco