Re: [PATCH v5 06/14] KVM: s390: pv: properly handle page flags for protected guests

From: Christian Borntraeger
Date: Tue Oct 26 2021 - 07:53:35 EST


Am 20.09.21 um 15:24 schrieb Claudio Imbrenda:
Introduce variants of the convert and destroy page functions that also
clear the PG_arch_1 bit used to mark them as secure pages.

The PG_arch_1 flag is always allowed to overindicate; using the new
functions introduced here allows to reduce the extent of overindication
and thus improve performance.

These new functions can only be called on pages for which a reference
is already being held.

Signed-off-by: Claudio Imbrenda <imbrenda@xxxxxxxxxxxxx>
Acked-by: Janosch Frank <frankja@xxxxxxxxxxxxx>
Reviewed-by: Christian Borntraeger <borntraeger@xxxxxxxxxx>

applied.