um: Call pgtable_pmd_page_dtor() in __pmd_free_tlb()
authorRichard Weinberger <richard@nod.at>
Mon, 19 Oct 2020 21:10:49 +0000 (23:10 +0200)
committerRichard Weinberger <richard@nod.at>
Tue, 10 Nov 2020 20:49:32 +0000 (21:49 +0100)
commit9a5085b3fad5d5d6019a3d160cdd70357d35c8b1
tree74f2c420e7f8ed6aa1b78590c51cdb2dfd9200d9
parenteccc876724927ff3b9ff91f36f7b6b159e948f0c
um: Call pgtable_pmd_page_dtor() in __pmd_free_tlb()

Commit b2b29d6d0119 ("mm: account PMD tables like PTE tables") uncovered
a bug in uml, we forgot to call the destructor.
While we are here, give x a sane name.

Reported-by: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Co-developed-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Signed-off-by: Richard Weinberger <richard@nod.at>
Tested-by: Christopher Obbard <chris.obbard@collabora.com>
arch/um/include/asm/pgalloc.h