All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: Juergen Lock <nox@jelal.kn-bremen.de>
Cc: Blue Swirl <blauwirbel@gmail.com>,
	freebsd-emulation@freebsd.org, Toni <tonygio04@gmail.com>,
	qemu-devel@nongnu.org, Andreas Tobler <andreast@fgznet.ch>
Subject: Re: [Qemu-devel] qemu git head 20100323 on FreeBSD - qemu-devel	 port update for testing
Date: Tue, 30 Mar 2010 13:33:15 -0700	[thread overview]
Message-ID: <4BB2600B.90002@twiddle.net> (raw)
In-Reply-To: <201003302009.o2UK9lAv002282@triton8.kn-bremen.de>

On 03/30/2010 01:09 PM, Juergen Lock wrote:
> Oh sorry if that was not clear, things go into swap if I _replace_ the
> endaddr ~0ul (which caused the assert) with the max value the assert
> still tolerates i.e.
> 	((abi_ulong)1 << L1_MAP_ADDR_SPACE_BITS) - 1
> which in this case seems to be 0x7fffffffffff:

Yes, I got that.  And I see from ...

> #3  0x0000000060012731 in page_set_flags (start=140737488224256, 
>     end=18446744073709551615, flags=32)

... here that the range we're reserving is

  0x7ffffffe0000 ... 0x7fffffffffff

which is a mere 128k range.  Which ought to allocate no more than
a single leaf page table (and thus N-1 pages for the N-level table).

Which doesn't answer the question of why you'd wind up running out
of memory.


r~

  reply	other threads:[~2010-03-30 20:35 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-25 20:44 [Qemu-devel] qemu git head 20100323 on FreeBSD - qemu-devel port update for testing Juergen Lock
2010-03-25 21:10 ` [Qemu-devel] " Brandon Gooch
2010-03-30 18:04 ` [Qemu-devel] " Blue Swirl
2010-03-30 19:16   ` Juergen Lock
2010-03-30 19:42     ` Richard Henderson
2010-03-30 20:09       ` Juergen Lock
2010-03-30 20:33         ` Richard Henderson [this message]
2010-03-30 20:45           ` Juergen Lock
2010-03-30 21:57             ` Juergen Lock
2010-03-30 20:42         ` Juergen Lock
2010-03-30 20:56           ` Richard Henderson
2010-03-30 19:54     ` Blue Swirl
2010-03-30 20:17       ` Juergen Lock
2010-04-01 11:59         ` Paul Brook
2010-04-01 17:06           ` Juergen Lock

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=4BB2600B.90002@twiddle.net \
    --to=rth@twiddle.net \
    --cc=andreast@fgznet.ch \
    --cc=blauwirbel@gmail.com \
    --cc=freebsd-emulation@freebsd.org \
    --cc=nox@jelal.kn-bremen.de \
    --cc=qemu-devel@nongnu.org \
    --cc=tonygio04@gmail.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.