]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit19ef57ce57e6e7ac89fb47aa4780ad39cc4520a6
tree74f2c420e7f8ed6aa1b78590c51cdb2dfd9200d9
parentc34f5216f56b1d99a390f293a14dce2df13770b5
um: Call pgtable_pmd_page_dtor() in __pmd_free_tlb()

Commit 86e94cbba5d1 ("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