mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Juergen Gross <jgross@suse.com>
To: Roger Pau Monne <roger.pau@citrix.com>, linux-kernel@vger.kernel.org
Cc: Gabriel Ercarug <bercarug@amazon.com>,
	Boris Ostrovsky <boris.ostrovsky@oracle.com>,
	xen-devel@lists.xenproject.org
Subject: Re: [PATCH] xen/balloon: fix balloon initialization for PVH Dom0
Date: Wed, 8 Aug 2018 13:51:15 +0200	[thread overview]
Message-ID: <44c992ed-f2bb-b4e9-d657-9f0b032ece5e@suse.com> (raw)
In-Reply-To: <20180808114641.20854-1-roger.pau@citrix.com>

On 08/08/18 13:46, Roger Pau Monne wrote:
> The current balloon code tries to calculate a delta factor for the
> balloon target when running in HVM mode in order to account for memory
> used by the firmware.
> 
> This workaround for memory accounting doesn't work properly on a PVH
> Dom0, that has a static-max value different from the target value even
> at startup. Note that this is not a problem for DomUs because guests are
> started with a static-max value that matches the amount of RAM in the
> memory map.
> 
> Fix this by forcefully setting target_diff for Dom0, regardless of
> it's mode.
> 
> Reported-by: Gabriel Bercarug <bercarug@amazon.com>
> Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>

Reviewed-by: Juergen Gross <jgross@suse.com>


Juergen

  reply	other threads:[~2018-08-08 11:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-08 11:46 Roger Pau Monne
2018-08-08 11:51 ` Juergen Gross [this message]
2018-08-08 17:01 ` Boris Ostrovsky

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=44c992ed-f2bb-b4e9-d657-9f0b032ece5e@suse.com \
    --to=jgross@suse.com \
    --cc=bercarug@amazon.com \
    --cc=boris.ostrovsky@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=roger.pau@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

Powered by JetHome