summaryrefslogtreecommitdiffstats
path: root/Documentation/sgi-ioc4.txt
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill.shutemov@linux.intel.com>2013-11-21 23:32:09 +0100
committerLinus Torvalds <torvalds@linux-foundation.org>2013-11-22 01:42:28 +0100
commitc283610e44ec4ccc412dde8b71cf297ed9515f2f (patch)
treedd3c83db8dabefbeb3733cd428cced7c62602beb /Documentation/sgi-ioc4.txt
parentipc,shm: correct error return value in shmctl (SHM_UNLOCK) (diff)
downloadlinux-c283610e44ec4ccc412dde8b71cf297ed9515f2f.tar.xz
linux-c283610e44ec4ccc412dde8b71cf297ed9515f2f.zip
x86, mm: do not leak page->ptl for pmd page tables
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>
Diffstat (limited to 'Documentation/sgi-ioc4.txt')
0 files changed, 0 insertions, 0 deletions