All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ian Campbell <ian.campbell@citrix.com>
To: Wei Liu <wei.liu2@citrix.com>
Cc: xen-devel@lists.xenproject.org,
	Ian Jackson <ian.jackson@eu.citrix.com>,
	"Chen, Tiejun" <tiejun.chen@intel.com>
Subject: Re: [PATCH for-4.6] libxl: move calling libxl__arch_domain_construct_memmap to right place
Date: Wed, 5 Aug 2015 12:06:22 +0100	[thread overview]
Message-ID: <1438772782.9747.59.camel@citrix.com> (raw)
In-Reply-To: <20150805105807.GI26074@zion.uk.xensource.com>

On Wed, 2015-08-05 at 11:58 +0100, Wei Liu wrote:
> On Wed, Aug 05, 2015 at 11:48:55AM +0100, Ian Campbell wrote:
> > On Wed, 2015-08-05 at 11:43 +0100, Wei Liu wrote:
> > > On Wed, Aug 05, 2015 at 11:38:54AM +0100, Ian Campbell wrote:
> > > > On Wed, 2015-08-05 at 11:23 +0100, Wei Liu wrote:
> > > > > This function was called in the wrong place, because both
> > > > > libxl__vnuma_build_vmemrange_hvm and xc_hvm_build rely on its 
> > > > > output.
> > > > 
> > > > What is the effect of this call being in the wrong place? 
> > > > Presumably 
> > > > one or
> > > > the other of those functions reaches the wrong conclusion?
> > > 
> > > Originally, by the time that function got called, all guest pages 
> > > were
> > > already populated.  The end result is E820 map disagrees with what 
> > > vNUMA
> > > says and what address ranges memory actually resides, i.e. risk of 
> > > guest
> > > accessing region that doesn't have backing pages.
> > 
> > Ouch. This should certainly be explained in the commit message.
> > 
> > With that: Acked-by: Ian Campbell <ian.campbell@citrix.com>
> > 
> 
> I will post v2 shortly with that information in commit message.
> 
> > Although perhaps we should wait for confirmation this fix doesn't 
> > regress
> > RMRR somehow?
> > 
> 
> I doubt it will. The code as-is is already broken for RMRR. But let's
> wait till tomorrow for Tiejun to reply.
> 
> If he doesn't reply by tomorrow, I suggest we apply v2 first and
> fix up any subsequent issues later.

Agreed.

  reply	other threads:[~2015-08-05 11:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-05 10:23 [PATCH for-4.6] libxl: move calling libxl__arch_domain_construct_memmap to right place Wei Liu
2015-08-05 10:38 ` Ian Campbell
2015-08-05 10:43   ` Wei Liu
2015-08-05 10:48     ` Ian Campbell
2015-08-05 10:58       ` Wei Liu
2015-08-05 11:06         ` Ian Campbell [this message]
2015-08-05 11:25           ` Wei Liu
2015-08-06  0:45             ` Chen, Tiejun
2015-08-06  8:25               ` Wei Liu

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=1438772782.9747.59.camel@citrix.com \
    --to=ian.campbell@citrix.com \
    --cc=ian.jackson@eu.citrix.com \
    --cc=tiejun.chen@intel.com \
    --cc=wei.liu2@citrix.com \
    --cc=xen-devel@lists.xenproject.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.