From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeSX6-0001XU-Ml for qemu-devel@nongnu.org; Tue, 12 Jun 2012 10:57:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SeSWz-0000UU-TI for qemu-devel@nongnu.org; Tue, 12 Jun 2012 10:57:24 -0400 Received: from mail-gg0-f173.google.com ([209.85.161.173]:61884) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SeSWz-0000RW-Mo for qemu-devel@nongnu.org; Tue, 12 Jun 2012 10:57:17 -0400 Received: by ggnp1 with SMTP id p1so3938191ggn.4 for ; Tue, 12 Jun 2012 07:57:15 -0700 (PDT) Sender: Richard Henderson Message-ID: <4FD758C7.4000207@twiddle.net> Date: Tue, 12 Jun 2012 07:57:11 -0700 From: Richard Henderson MIME-Version: 1.0 References: <1339107871-4487-1-git-send-email-rth@twiddle.net> <1339107871-4487-3-git-send-email-rth@twiddle.net> <4FD74E32.7000705@suse.de> <4FD751EA.2070501@twiddle.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: [Qemu-devel] [PATCH 2/9] alpha-linux-user: Work around hosted mmap allocation problems List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: Peter Maydell , Paul Brook , Riku Voipio , "qemu-devel@nongnu.org" , =?UTF-8?B?QW5kcmVhcyBGw6RyYmVy?= On 2012-06-12 07:53, Alexander Graf wrote: > > > On 12.06.2012, at 16:27, Richard Henderson wrote: > >> On 2012-06-12 07:12, Andreas Färber wrote: >>> This looks fishy to me... why should the kernel use a bigger address >>> space than hardware? For arm on x86_64 such a workaround was not >>> necessary iirc. >> >> I can tell you what I observe. That with a certain sequence of >> allocations the x86_64 kernel will quit accepting an address "near" >> (1<<38) as a hint for where to allocate memory and begin returning >> an addresses near (1<<48). > > Hrm, does -R work for you? :) Lol. Actually I've tried it a couple of times: -R 32G. And, no, it doesn't work very well. ;-) r~