[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220608140653.0afd1e75@li-ca45c2cc-336f-11b2-a85c-c6e71de567f1>
Date: Wed, 8 Jun 2022 14:06:53 +0200
From: Nico Boehr <nrb@...ux.ibm.com>
To: Claudio Imbrenda <imbrenda@...ux.ibm.com>
Cc: kvm@...r.kernel.org, borntraeger@...ibm.com, frankja@...ux.ibm.com,
thuth@...hat.com, pasic@...ux.ibm.com, david@...hat.com,
linux-s390@...r.kernel.org, linux-kernel@...r.kernel.org,
scgl@...ux.ibm.com, mimu@...ux.ibm.com
Subject: Re: [PATCH v11 13/19] KVM: s390: pv: destroy the configuration
before its memory
On Fri, 3 Jun 2022 08:56:39 +0200
Claudio Imbrenda <imbrenda@...ux.ibm.com> wrote:
> Move the Destroy Secure Configuration UVC before the loop to destroy
> the memory. If the protected VM has memory, it will be cleaned up and
> made accessible by the Destroy Secure Configuraion UVC. The struct
> page for the relevant pages will still have the protected bit set, so
> the loop is still needed to clean that up.
>
> Switching the order of those two operations does not change the
> outcome, but it is significantly faster.
>
> Signed-off-by: Claudio Imbrenda <imbrenda@...ux.ibm.com>
Reviewed-by: Nico Boehr <nrb@...ux.ibm.com>
Powered by blists - more mailing lists