mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 05:02:12 +00:00
c283610e44
There are two code paths how page with pmd page table can be freed: pmd_free() and pmd_free_tlb(). I've missed the second one and didn't add page table destructor call there. It leads to leak of page->ptl for pmd page tables, if dynamically allocated page->ptl is in use. The patch adds the missed destructor and modifies documentation accordingly. Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Reported-by: Andrey Vagin <avagin@openvz.org> Tested-by: Andrey Vagin <avagin@openvz.org> Cc: Ingo Molnar <mingo@redhat.com> Cc: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> |
||
---|---|---|
.. | ||
.gitignore | ||
00-INDEX | ||
active_mm.txt | ||
balance | ||
cleancache.txt | ||
frontswap.txt | ||
highmem.txt | ||
hugetlbpage.txt | ||
hwpoison.txt | ||
ksm.txt | ||
locking | ||
numa | ||
numa_memory_policy.txt | ||
overcommit-accounting | ||
page_migration | ||
pagemap.txt | ||
slub.txt | ||
soft-dirty.txt | ||
split_page_table_lock | ||
transhuge.txt | ||
unevictable-lru.txt | ||
zswap.txt |