aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/failed-syscalls-by-pid.py
diff options
context:
space:
mode:
authorHillf Danton <[email protected]>2012-01-10 15:08:19 -0800
committerLinus Torvalds <[email protected]>2012-01-10 16:30:45 -0800
commit0c176d52b0b2619f231b2bbf329b90c028134f58 (patch)
tree540d2b64a9efe0cd307c04fecedf72e5f3875260 /tools/perf/scripts/python/failed-syscalls-by-pid.py
parent86cfd3a45042ab242d47f3935a02811a402beab6 (diff)
mm: hugetlb: fix pgoff computation when unmapping page from vma
The computation for pgoff is incorrect, at least with (vma->vm_pgoff >> PAGE_SHIFT) involved. It is fixed with the available method if HPAGE_SIZE is concerned in page cache lookup. [[email protected]: use vma_hugecache_offset() directly, per Michal] Signed-off-by: Hillf Danton <[email protected]> Cc: Mel Gorman <[email protected]> Cc: Michal Hocko <[email protected]> Reviewed-by: KAMEZAWA Hiroyuki <[email protected]> Cc: Andrea Arcangeli <[email protected]> Cc: David Rientjes <[email protected]> Reviewed-by: Michal Hocko <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions