xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Keir Fraser <keir.fraser@eu.citrix.com>
To: "Xu, Dongxiao" <dongxiao.xu@intel.com>,
	"'xen-devel@lists.xensource.com'" <xen-devel@lists.xensource.com>
Cc: "Huang2, Wei" <Wei.Huang2@amd.com>
Subject: Re: [PATCH][1/4] Enable 1GB for Xen HVM host page
Date: Wed, 24 Feb 2010 09:12:04 +0000	[thread overview]
Message-ID: <C7AA9DE4.B1FE%keir.fraser@eu.citrix.com> (raw)
In-Reply-To: <6CADD16F56BC954D8E28F3836FA7ED71282AC1EF1A@shzsmsx501.ccr.corp.intel.com>

On 24/02/2010 04:25, "Xu, Dongxiao" <dongxiao.xu@intel.com> wrote:

> When allocating guest memory without the patch, Xend will treat 3G-4G
> as normal memory, ignoring the 3.75-4G MMIO hole. This patch modifies
> MMIO start address to be 1GB aligned and could fix the issue.
> 
> Indeed, this patch may have some influence to pure 32bit guest,
> changing its max memory from 3.75G to 3G.
> 
> Anyway, we can change it to alloc 2M pages between 3G and 4G if you
> think this particular patch is improper.

I would expect it to fall back to 2MB extents, and from there back to 4kB
extents as necessary, for any range where: (a) the range to be allocated for
is not 1GB-sized and -aligned; or (b) no 1GB extents are available from
Xen's free pool.

 -- Keir

      reply	other threads:[~2010-02-24  9:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-22 17:17 [PATCH][1/4] Enable 1GB for Xen HVM host page Wei Huang
2010-02-23  7:56 ` Keir Fraser
2010-02-23 15:03   ` Huang2, Wei
2010-02-24  4:25     ` Xu, Dongxiao
2010-02-24  9:12       ` Keir Fraser [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=C7AA9DE4.B1FE%keir.fraser@eu.citrix.com \
    --to=keir.fraser@eu.citrix.com \
    --cc=Wei.Huang2@amd.com \
    --cc=dongxiao.xu@intel.com \
    --cc=xen-devel@lists.xensource.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 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).