From: Roger Pau Monne <roger.pau@citrix.com>
To: xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org
Cc: Roger Pau Monne <roger.pau@citrix.com>
Subject: [PATCH 0/2] xen/balloon: fix balloon driver initial target
Date: Wed, 28 Jan 2026 12:05:07 +0100 [thread overview]
Message-ID: <20260128110510.46425-1-roger.pau@citrix.com> (raw)
Hello,
The fist patch is a bugfix to revert to the previous way of setting the
balloon memory target for PV domains. The new way is off by ~97 pages
on domUs, because page at PFN 0 and the ISA range are ignored by Linux,
but populated from Xen's perspective.
Second patch aims to improve the initial memory target used by dom0.
With this new approach the target set by the balloon driver matches
exactly the target Xen by the toolstack when late-initializing it.
Thanks, Roger.
Roger Pau Monne (2):
Partial revert "x86/xen: fix balloon target initialization for PVH
dom0"
xen/balloon: improve accuracy of initial balloon target for dom0
arch/x86/xen/enlighten.c | 2 +-
drivers/xen/balloon.c | 26 ++++++++++++++++++++++----
drivers/xen/unpopulated-alloc.c | 3 +++
include/xen/xen.h | 2 ++
4 files changed, 28 insertions(+), 5 deletions(-)
--
2.51.0
next reply other threads:[~2026-01-28 11:05 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-28 11:05 Roger Pau Monne [this message]
2026-01-28 11:05 ` [PATCH 1/2] Partial revert "x86/xen: fix balloon target initialization for PVH dom0" Roger Pau Monne
2026-01-28 15:23 ` Jürgen Groß
2026-01-28 11:05 ` [PATCH 2/2] xen/balloon: improve accuracy of initial balloon target for dom0 Roger Pau Monne
2026-01-28 11:31 ` Jürgen Groß
2026-01-28 11:54 ` Roger Pau Monné
2026-01-28 15:18 ` Jürgen Groß
2026-01-28 15:23 ` Jürgen Groß
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=20260128110510.46425-1-roger.pau@citrix.com \
--to=roger.pau@citrix.com \
--cc=linux-kernel@vger.kernel.org \
--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
all inboxes | Powered by JetHome®