• David Hildenbrand's avatar
    s390/vmem: cleanup empty page tables · b9ff8100
    David Hildenbrand authored
    Let's cleanup empty page tables. Consider only page tables that fully
    fall into the idendity mapping and the vmemmap range.
    
    As there are no valid accesses to vmem/vmemmap within non-populated ranges,
    the single tlb flush at the end should be sufficient.
    
    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: default avatarDavid Hildenbrand <david@redhat.com>
    Message-Id: <20200722094558.9828-7-david@redhat.com>
    Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
    b9ff8100
vmem.c 11.6 KB