s390/vmemmap: avoid memset(PAGE_UNUSED) when adding consecutive sections
authorDavid Hildenbrand <david@redhat.com>
Wed, 22 Jul 2020 09:45:58 +0000 (11:45 +0200)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 27 Jul 2020 08:34:14 +0000 (10:34 +0200)
commit2c114df071935762ffa88144cdab03d84beaa702
tree6032c873a5b9b1111a6c97dfb66543a0b8abb55f
parentcd5781d63eaf6dbf89532d8c7c214786b767ee16
s390/vmemmap: avoid memset(PAGE_UNUSED) when adding consecutive sections

Let's avoid memset(PAGE_UNUSED) when adding consecutive sections,
whereby the vmemmap of a single section does not span full PMDs.

Cc: Vasily Gorbik <gor@linux.ibm.com>
Cc: Christian Borntraeger <borntraeger@de.ibm.com>
Cc: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20200722094558.9828-10-david@redhat.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/mm/vmem.c