aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorYu Zhao <[email protected]>2019-03-05 15:49:17 -0800
committerLinus Torvalds <[email protected]>2019-03-05 21:07:20 -0800
commit5d3ee42f8f5fa5e7ccc8980878fe6e18a129b9ff (patch)
treef2450c2442939937da7fcb79282b14c0c6e96f55 /tools/perf/scripts/python/export-to-sqlite.py
parentafa00112893f4ca02777c3cf4f93011577af5ffc (diff)
mm/shmem: make find_get_pages_range() work for huge page
find_get_pages_range() and find_get_pages_range_tag() already correctly increment reference count on head when seeing compound page, but they may still use page index from tail. Page index from tail is always zero, so these functions don't work on huge shmem. This hasn't been a problem because, AFAIK, nobody calls these functions on (huge) shmem. Fix them anyway just in case. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Yu Zhao <[email protected]> Reviewed-by: William Kucharski <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: Amir Goldstein <[email protected]> Cc: Dave Chinner <[email protected]> Cc: "Darrick J . Wong" <[email protected]> Cc: Johannes Weiner <[email protected]> Cc: Souptick Joarder <[email protected]> Cc: Hugh Dickins <[email protected]> Cc: "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/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions