[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <7c05accc-91b7-45cf-b470-d8e134f2c99c@suse.com>
Date: Wed, 28 Jan 2026 16:23:58 +0100
From: Jürgen Groß <jgross@...e.com>
To: Roger Pau Monne <roger.pau@...rix.com>, xen-devel@...ts.xenproject.org,
linux-kernel@...r.kernel.org
Cc: Stefano Stabellini <sstabellini@...nel.org>,
Oleksandr Tyshchenko <oleksandr_tyshchenko@...m.com>
Subject: Re: [PATCH 2/2] xen/balloon: improve accuracy of initial balloon
target for dom0
On 28.01.26 12:05, Roger Pau Monne wrote:
> The dom0 balloon target set by the toolstack is the value returned by
> XENMEM_current_reservation. Do the same in the kernel balloon driver and
> set the current allocation to the value returned by
> XENMEM_current_reservation. On my test system this causes the kernel
> balloon driver target to exactly match the value set by the toolstack in
> xenstore.
>
> Note this approach can be used by both PV and PVH dom0s, as the toolstack
> always uses XENMEM_current_reservation to set the initial target regardless
> of the dom0 type.
>
> Signed-off-by: Roger Pau Monné <roger.pau@...rix.com>
Reviewed-by: Juergen Gross <jgross@...e.com>
Juergen
Download attachment "OpenPGP_0xB0DE9DD628BF132F.asc" of type "application/pgp-keys" (3684 bytes)
Download attachment "OpenPGP_signature.asc" of type "application/pgp-signature" (496 bytes)
Powered by blists - more mailing lists