qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [patch] linux-user: problem with mmap_find_vma
Date: Sun, 13 Dec 2009 20:43:05 -0800	[thread overview]
Message-ID: <4B25C259.6080202@twiddle.net> (raw)
In-Reply-To: <4B25BBB8.5070807@twiddle.net>

On 12/13/2009 08:14 PM, Richard Henderson wrote:
> With host x86_64 target alpha, a trivial recompile started producing
> "MMU faults". Eventually, I determined that adding "-B 0x100000000" was
> enough to produce the fault with the original working executable. I
> expect, but have not verified, that a similar failure can be elicited
> with any 64-bit host and any target using such a large explicit base.
>
> The cause is that the default address used by mmap_find_vma may not be
> inside the area defined for use by the guest by GUEST_BASE. Certainly
> this patch fixes the failure I was seeing.
>
> I cannot see though all the macro ugliness to understand what happens
> when GUEST_BASE is not in use to know what needs happening there. Please
> feel free to edit the ??? comment to match reality.

... Well, while I do think this patch is still a good idea,
since one hardly likes to see things like

   start_stack 0xffffffff04012000

it seems to simply have moved the MMU data fault around; it's back with 
the rest of the patch set applied.  :-(


r~

      reply	other threads:[~2009-12-14  4:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-14  4:14 [Qemu-devel] [patch] linux-user: problem with mmap_find_vma Richard Henderson
2009-12-14  4:43 ` Richard Henderson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B25C259.6080202@twiddle.net \
    --to=rth@twiddle.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).