Skip to content

xen/balloon: fix balloon driver initial target

Roger Pau Monne lkml xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Partial revert "x86/xen: fix balloon target initialization for PVH dom0"arch/x86/xen/enlighten.c drivers/xen/balloon.c drivers/xen/unpopulated-alloc.c +1 more+21 -51 reply
2/2xen/balloon: improve accuracy of initial balloon target for dom0drivers/xen/balloon.c+17 -104 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJuergen Gross
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] xen/balloon: fix balloon driver initial target

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(-)
Signature · 1 line
2.51.0