xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: "Roger Pau Monné" <roger.pau@citrix.com>
To: Roger Pau Monne <roger.pau@citrix.com>
Cc: xen-devel@lists.xenproject.org, andrei.semenov@bertin.fr,
	Wei Liu <wei.liu2@citrix.com>, Jan Beulich <jbeulich@suse.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>
Subject: Re: [PATCH 2/2] x86/dom0: improve paging memory usage calculations
Date: Wed, 5 Dec 2018 13:34:51 +0100	[thread overview]
Message-ID: <20181205123451.kuq64o4xxvvupp2x@mac> (raw)
In-Reply-To: <20181205120629.96767-3-roger.pau@citrix.com>

On Wed, Dec 05, 2018 at 01:06:29PM +0100, Roger Pau Monne wrote:
> diff --git a/xen/arch/x86/hvm/dom0_build.c b/xen/arch/x86/hvm/dom0_build.c
> index 2af2bd8c3d..7217b2404a 100644
> --- a/xen/arch/x86/hvm/dom0_build.c
> +++ b/xen/arch/x86/hvm/dom0_build.c
> @@ -358,6 +358,9 @@ static int __init pvh_setup_p2m(struct domain *d)
>  {
>      struct vcpu *v = d->vcpu[0];
>      unsigned long nr_pages = dom0_compute_nr_pages(d, NULL, 0);
> +    unsigned long paging_pages =
> +        paging_mode_hap(d) ? dom0_hap_pages(d, nr_pages),

I've somehow messed up this patch series and sent a not updated
version, will send v2 shortly, sorry.

Roger.

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

      reply	other threads:[~2018-12-05 12:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-05 12:06 [PATCH 0/2] x86/dom0: improve PVH paging memory calculation Roger Pau Monne
2018-12-05 12:06 ` [PATCH 1/2] x86/dom0: rename paging function Roger Pau Monne
2018-12-05 12:06 ` [PATCH 2/2] x86/dom0: improve paging memory usage calculations Roger Pau Monne
2018-12-05 12:34   ` Roger Pau Monné [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=20181205123451.kuq64o4xxvvupp2x@mac \
    --to=roger.pau@citrix.com \
    --cc=andrei.semenov@bertin.fr \
    --cc=andrew.cooper3@citrix.com \
    --cc=jbeulich@suse.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 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).