aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorMatthew Wilcox <[email protected]>2016-03-15 14:57:28 -0700
committerLinus Torvalds <[email protected]>2016-03-15 16:55:16 -0700
commit88193f7ce6657ec4197b1f26b73b37197373b8e6 (patch)
tree246c8405fb0aea518b25646cfbb0a8e85064da04 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentfdf1cdb91b6ab7a8a91df68c384f36b8a0909cab (diff)
mm: use linear_page_index() in do_fault()
do_fault() assumes that PAGE_SIZE is the same as PAGE_CACHE_SIZE. Use linear_page_index() to calculate pgoff in the correct units. Signed-off-by: Matthew Wilcox <[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 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions