summaryrefslogtreecommitdiffstats
path: root/arch/s390/include/asm/processor.h
diff options
context:
space:
mode:
authorGerald Schaefer <gerald.schaefer@de.ibm.com>2019-10-22 14:38:08 +0200
committerVasily Gorbik <gor@linux.ibm.com>2019-10-31 17:20:54 +0100
commit2416cefc504ba8ae9b17e3e6b40afc72708f96be (patch)
tree6bcf0609ae4dd4be1d4a7719a78e1f977af57110 /arch/s390/include/asm/processor.h
parentab874f22d35a8058d8fdee5f13eb69d8867efeae (diff)
s390/mm: add mm_pxd_folded() checks to pxd_free()
Unlike pxd_free_tlb(), the pxd_free() functions do not check for folded page tables. This is not an issue so far, as those functions will actually never be called, since no code will reach them when page tables are folded. In order to avoid future issues, and to make the s390 code more similar to other architectures, add mm_pxd_folded() checks, similar to how it is done in pxd_free_tlb(). This was found by testing a patch from from Anshuman Khandual, which is currently discussed on LKML ("mm/debug: Add tests validating architecture page table helpers"). Signed-off-by: Gerald Schaefer <gerald.schaefer@de.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/include/asm/processor.h')
0 files changed, 0 insertions, 0 deletions