Re: [PATCH v11 11/19] s390/mm: KVM: pv: when tearing down, try to destroy protected pages

From: Nico Boehr
Date: Wed Jun 08 2022 - 08:03:39 EST


On Fri, 3 Jun 2022 08:56:37 +0200
Claudio Imbrenda <imbrenda@xxxxxxxxxxxxx> wrote:

> When ptep_get_and_clear_full is called for a mm teardown, we will now
> attempt to destroy the secure pages. This will be faster than export.
>
> In case it was not a teardown, or if for some reason the destroy page
> UVC failed, we try with an export page, like before.
>
> Signed-off-by: Claudio Imbrenda <imbrenda@xxxxxxxxxxxxx>
> Acked-by: Janosch Frank <frankja@xxxxxxxxxxxxx>

Reviewed-by: Nico Boehr <nrb@xxxxxxxxxxxxx>