aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorMatthew Wilcox <[email protected]>2016-02-03 00:57:57 +0000
committerLinus Torvalds <[email protected]>2016-02-03 16:28:43 +0000
commit12c9d70bd5056b3ae84746fca973c286f48384cc (patch)
treef6b95cb55c397b738b8509c03d895fa8e2bd6f21 /lib/dump_stack.c
parentdrivers/hwspinlock: fix race between radix tree insertion and lookup (diff)
downloadkernel-12c9d70bd5056b3ae84746fca973c286f48384cc.tar.gz
kernel-12c9d70bd5056b3ae84746fca973c286f48384cc.zip
mm: fix memory leak in copy_huge_pmd()
We allocate a pgtable but do not attach it to anything if the PMD is in a DAX VMA, causing it to leak. We certainly try to not free pgtables associated with the huge zero page if the zero page is in a DAX VMA, so I think this is the right solution. This needs to be properly audited. Signed-off-by: Matthew Wilcox <[email protected]> Cc: Dan Williams <[email protected]> Acked-by: Kirill A. Shutemov <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions