aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJan Kara <[email protected]>2017-09-06 16:21:40 -0700
committerLinus Torvalds <[email protected]>2017-09-06 17:27:27 -0700
commitf7b68046873724129798c405e1a4e326b409c08f (patch)
tree10e685a34f8bb0a0603b04a417c72b20c398efeb /tools/perf/scripts/python
parent8338141f0f51325de5fd096e4179d01dac6f3655 (diff)
mm: use find_get_pages_range() in filemap_range_has_page()
We want only pages from given range in filemap_range_has_page(), furthermore we want at most a single page. So use find_get_pages_range() instead of pagevec_lookup() and remove unnecessary code. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Jan Kara <[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