aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorKOSAKI Motohiro <[email protected]>2011-07-25 17:12:09 -0700
committerLinus Torvalds <[email protected]>2011-07-25 20:57:08 -0700
commit4b6ddbf7ed4ef2f40e0a27418146eedaa68953c6 (patch)
tree27ab200848514a467f656281073b9c0f86cb7dcc /tools/perf/scripts/python
parent45ebb840257b060ec54416aebffd9747e210962c (diff)
pagewalk: fix walk_page_range() don't check find_vma() result properly
The doc of find_vma() says, /* Look up the first VMA which satisfies addr < vm_end, NULL if none. */ struct vm_area_struct *find_vma(struct mm_struct *mm, unsigned long addr) { (snip) Thus, caller should confirm whether the returned vma matches a desired one. Signed-off-by: KOSAKI Motohiro <[email protected]> Cc: Naoya Horiguchi <[email protected]> Cc: Hiroyuki Kamezawa <[email protected]> Cc: Andrea Arcangeli <[email protected]> Cc: Matt Mackall <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions