Re: [PATCH v2 1/2] s390x: uv: Add destroy page call

Cornelia Huck
2020-09-08T06:29:06Z

On Mon, 7 Sep 2020 08:46:59 -0400
Janosch Frank <frankja@linux.ibm.com> wrote:

> We don't need to export pages if we destroy the VM configuration
> afterwards anyway. Instead we can destroy the page which will zero it
> and then make it accessible to the host.
>
> Destroying is about twice as fast as the export.
>
> Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
> Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
> ---
> arch/s390/include/asm/uv.h | 7 +++++++
> arch/s390/kernel/uv.c | 20 ++++++++++++++++++++
> arch/s390/mm/gmap.c | 2 +-
> 3 files changed, 28 insertions(+), 1 deletion(-)

Reviewed-by: Cornelia Huck <cohuck@redhat.com>