• Vasily Gorbik's avatar
    s390/mm: optimize debugfs ptdump kasan zero page walking · e006222b
    Vasily Gorbik authored
    Kasan zero p4d/pud/pmd/pte are always filled in with corresponding
    kasan zero entries. Walking kasan zero page backed area is time
    consuming and unnecessary. When kasan zero p4d/pud/pmd is encountered,
    it eventually points to the kasan zero page always with the same
    attributes and nothing but it, therefore zero p4d/pud/pmd could
    be jumped over.
    
    Also adds a space between address range and pages number to separate
    them from each other when pages number is huge.
    
    0x0018000000000000-0x0018000010000000       256M PMD RW X
    0x0018000010000000-0x001bfffff0000000 1073741312M PTE RO X
    0x001bfffff0000000-0x001bfffff0001000         4K PTE RW X
    Reviewed-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
    Signed-off-by: default avatarMartin Schwidefsky <schwidefsky@de.ibm.com>
    e006222b
dump_pagetables.c 7.17 KB