aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorOleg Nesterov <[email protected]>2012-06-15 17:43:22 +0200
committerIngo Molnar <[email protected]>2012-06-16 09:10:41 +0200
commitea131377148cdfe90641b42ae9aa5a6b3a4fa327 (patch)
tree5f8f6063fe35affd268054b762dd18877dfa44ef /tools/perf/scripts/python/check-perf-trace.py
parente2b297fcf17fc03734e93387fb8195c782286b35 (diff)
uprobes: Valid_vma() should reject VM_HUGETLB
__replace_page() obviously can't work with the hugetlbfs mappings, uprobe_register() will likely crash the kernel. Change valid_vma() to check VM_HUGETLB as well. As for PageTransHuge() no need to worry, vma->vm_file != NULL. Signed-off-by: Oleg Nesterov <[email protected]> Acked-by: Srikar Dronamraju <[email protected]> Cc: Ananth N Mavinakayanahalli <[email protected]> Cc: Anton Arapov <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions