Re: [PATCH] xen/balloon: don't use PV mode extra memory for zone device allocations

From: Boris Ostrovsky
Date: Thu Apr 07 2022 - 19:16:02 EST



On 4/7/22 5:38 AM, Juergen Gross wrote:
When running as a Xen PV guest use the extra memory (memory which isn't
allocated for the guest at boot time) only for ballooning purposes and
not for zone device allocations. This will remove some code without any
lack of functionality.

While at it move some code to get rid of another #ifdef.

Remove a comment which is stale since some time now.

Signed-off-by: Juergen Gross <jgross@xxxxxxxx>


Reviewed-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>