public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] xen/balloon: fix balloon driver initial target
@ 2026-01-28 11:05 Roger Pau Monne
  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 11:05 ` [PATCH 2/2] xen/balloon: improve accuracy of initial balloon target for dom0 Roger Pau Monne
  0 siblings, 2 replies; 8+ messages in thread
From: Roger Pau Monne @ 2026-01-28 11:05 UTC (permalink / raw)
  To: xen-devel, linux-kernel; +Cc: Roger Pau Monne

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2026-01-28 15:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-28 11:05 [PATCH 0/2] xen/balloon: fix balloon driver initial target Roger Pau Monne
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ß

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox