From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NZP5x-0005SK-Ja for qemu-devel@nongnu.org; Mon, 25 Jan 2010 08:35:09 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NZP5w-0005Ri-VO for qemu-devel@nongnu.org; Mon, 25 Jan 2010 08:35:09 -0500 Received: from [199.232.76.173] (port=40396 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NZP5w-0005RV-K2 for qemu-devel@nongnu.org; Mon, 25 Jan 2010 08:35:08 -0500 Received: from afflict.kos.to ([92.243.29.197]:44632) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NZP5w-0004sv-5W for qemu-devel@nongnu.org; Mon, 25 Jan 2010 08:35:08 -0500 Date: Mon, 25 Jan 2010 13:35:02 +0000 From: Riku Voipio Subject: Re: [Qemu-devel] [PATCH] linux-user: Align mmap memory to the target page size. Message-ID: <20100125133502.GA28489@afflict.kos.to> References: <20100115011604.DCB1CB93@are.twiddle.net> <4B508D34.70304@twiddle.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B508D34.70304@twiddle.net> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: qemu-devel@nongnu.org On Fri, Jan 15, 2010 at 07:43:48AM -0800, Richard Henderson wrote: >> This patch uses a more complex search algorithm that takes the result >> of the previous allocation into account. We normally search upward, >> but notice 2 consecutive results and start searching downward instead. > I've failed to take guest_base into account properly; my testing > happened to have guest_base = 0. New patch to follow. Did you have time to look at this again?