All of lore.kernel.org
 help / color / mirror / Atom feed
From: Avi Kivity <avi@redhat.com>
To: David Evensky <evensky@dancer.ca.sandia.gov>
Cc: kvm@vger.kernel.org
Subject: Re: memory zones and the KVM guest kernel
Date: Tue, 24 May 2011 11:04:05 +0300	[thread overview]
Message-ID: <4DDB6675.6070002@redhat.com> (raw)
In-Reply-To: <20110523201956.GG7835@dancer.ca.sandia.gov>

On 05/23/2011 11:19 PM, David Evensky wrote:
> Hi,
>
> When I boot my guest kernel with KVM, the dmesg output says that:
>
> ...
> [    0.000000] Zone PFN ranges:
> [    0.000000]   DMA      0x00000010 ->  0x00001000
> [    0.000000]   DMA32    0x00001000 ->  0x00100000
> [    0.000000]   Normal   empty
> [    0.000000] Movable zone start PFN for each node
> [    0.000000] early_node_map[2] active PFN ranges
> [    0.000000]     0: 0x00000010 ->  0x0000009f
> [    0.000000]     0: 0x00000100 ->  0x0007fffd
> ...
>
> Why is the Normal Zone empty?

The DMA32 zone covers the first 4GB of memory.  If you have less than 
that (actually less than somewhat less than 4GB), nothing spills over to 
the normal zone.

>   Is it possible to have some of the
> guest's memory mapped in the Normal zone?

-m 8G

> Is there a good reference that talks about the normal, movable,
> etc. memory zones?

I expect Mel Gorman's book covers it.

-- 
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.


      reply	other threads:[~2011-05-24  8:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-23 20:19 memory zones and the KVM guest kernel David Evensky
2011-05-24  8:04 ` Avi Kivity [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=4DDB6675.6070002@redhat.com \
    --to=avi@redhat.com \
    --cc=evensky@dancer.ca.sandia.gov \
    --cc=kvm@vger.kernel.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 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.