All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mick Jordan <Mick.Jordan@sun.com>
To: Dave McCracken <dcm@mccr.org>
Cc: Ian Pratt <Ian.Pratt@eu.citrix.com>,
	xen-devel@lists.xensource.com, Mick Jordan <Mick.Jordan@sun.com>,
	Keir Fraser <keir.fraser@eu.citrix.com>
Subject: Re: 2MB page PV guest support clarification
Date: Mon, 02 Mar 2009 08:38:54 -0800	[thread overview]
Message-ID: <49AC0B9E.2090006@Sun.COM> (raw)
In-Reply-To: <200903020745.30110.dcm@mccr.org>

On 03/02/09 05:45, Dave McCracken wrote:
>
> I am the person at Oracle working on PV guest support for 2MB pages.  I did 
> get an initial patch accepted into the Xen hypervisor that enables basic 2MB 
> page support.  As Keir said, it requires 'allowhugepage' on the Xen 
> hypervisor command line.  It supports the basic ability to specify PSE in the 
> page table, and takes care of the associated type and reference tracking for 
> the mapped page(s).
>
> What this patch does not do is make any guarantee about the alignment of the 
> mapped page, which is a hardware requirement.  The solution I am working on 
> for this is to create domains with 2MB pages.  The hypervisor already 
> supports populating a domain with larger pages.  I am working on supporting 
> 2MB page domains at creation time and restore time.  This approach will also 
> require that balloon drivers understand and work with 2MB pages.
>   
In my world, I make sure I allocate aligned contiguous machine 2MB 
pages. Of course that may not always be possible, depending on what you 
get from Xen. And I've seem some wild outer cases, such as swiss cheese 
memory with every other page missing and no physical run longer than two 
4K pages!

Mick

  reply	other threads:[~2009-03-02 16:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-27 23:01 2MB page PV guest support clarification Mick Jordan
2009-02-27 23:28 ` Jeremy Fitzhardinge
2009-02-27 23:54   ` Mick Jordan
2009-02-28  0:03   ` Ian Pratt
2009-02-28  0:42     ` Mick Jordan
2009-02-28  1:28       ` Ian Pratt
2009-02-28  1:37         ` Mick Jordan
2009-03-02 10:44           ` Rolf Neugebauer
2009-02-28 11:12     ` Keir Fraser
2009-03-02 13:45       ` Dave McCracken
2009-03-02 16:38         ` Mick Jordan [this message]
2009-03-02 16:23       ` Mick Jordan
2009-03-02 16:34         ` Keir Fraser

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=49AC0B9E.2090006@Sun.COM \
    --to=mick.jordan@sun.com \
    --cc=Ian.Pratt@eu.citrix.com \
    --cc=dcm@mccr.org \
    --cc=keir.fraser@eu.citrix.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 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.