Message ID | 160984349415.414.16783769604201998583.tip-bot2@tip-bot2 |
---|---|
State | New |
Headers | show |
Series | [tip:,x86/urgent] x86/mm: Fix leak of pmd ptlock | expand |
diff --git a/arch/x86/mm/pgtable.c b/arch/x86/mm/pgtable.c index dfd82f5..f6a9e2e 100644 --- a/arch/x86/mm/pgtable.c +++ b/arch/x86/mm/pgtable.c @@ -829,6 +829,8 @@ int pud_free_pmd_page(pud_t *pud, unsigned long addr) } free_page((unsigned long)pmd_sv); + + pgtable_pmd_page_dtor(virt_to_page(pmd)); free_page((unsigned long)pmd); return 1;