From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:46773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RanZv-0006TL-0m for qemu-devel@nongnu.org; Wed, 14 Dec 2011 07:05:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RanZt-0002WJ-Ev for qemu-devel@nongnu.org; Wed, 14 Dec 2011 07:04:54 -0500 Received: from relay1.mentorg.com ([192.94.38.131]:60123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RanZt-0002Tw-9Y for qemu-devel@nongnu.org; Wed, 14 Dec 2011 07:04:53 -0500 From: Paul Brook Date: Wed, 14 Dec 2011 12:04:45 +0000 References: <1323725761-5629-1-git-send-email-agraf@suse.de> <201112140030.45213.paul@codesourcery.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201112141204.45646.paul@codesourcery.com> Subject: Re: [Qemu-devel] [PATCH] PPC: Fix linker scripts on ppc hosts List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Riku Voipio , Richard Henderson , "dvaleev@suse.com" , Alexander Graf , "qemu-devel@nongnu.org" > The proper solution would be to rewrite mmap.c to be smarter (perhaps > by looking at /proc/self/maps and reserving a lot of space with PROT_NONE > mappings at startup and then managing it itself), but so far nobody's > done that Yes they have. That's what -R does. We used to try and parse /proc/self/maps. This caused more problems than it solved. It doesn't cover things like mmap_min_addr, and you have to re-parse it before every allocation in case the host libc allocated something new in between. Paul