aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorAl Viro <[email protected]>2013-11-20 22:16:36 +0000
committerLinus Torvalds <[email protected]>2013-11-20 14:22:14 -0800
commit2a46eed54a28c1e3de701ca4237ce4f8bebf14c6 (patch)
treed1bb3671fed7746110175a480b72a543bfd3d271 /tools/perf/util/trace-event-scripting.c
parent82023bb7f75b0052f40d3e74169d191c3e4e6286 (diff)
Wrong page freed on preallocate_pmds() failure exit
Note that pmds[i] is simply uninitialized at that point... Granted, it's very hard to hit (you need split page locks *and* kmalloc(sizeof(spinlock_t), GFP_KERNEL) failing), but the code is obviously bogus. Introduced by commit 09ef4939850a ("x86: add missed pgtable_pmd_page_ctor/dtor calls for preallocated pmds") Signed-off-by: Al Viro <[email protected]> Cc: Kirill A. Shutemov <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions