diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2021-02-25 17:15:44 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-02-26 09:40:59 -0800 |
| commit | c7bad633e6b749b2d64e2421cc9d4ee0d1540a8a (patch) | |
| tree | db39247d51784bca87cb240adf43107debe08509 /tools/perf/scripts/python/flamegraph.py | |
| parent | bc5a301120f35caf0cd6cfdff7efa0fa779749c3 (diff) | |
mm/filemap: add helper for finding pages
There is a lot of common code in find_get_entries(),
find_get_pages_range() and find_get_pages_range_tag(). Factor out
find_get_entry() which simplifies all three functions.
[[email protected]: remove VM_BUG_ON_PAGE()]
Link: https://lkml.kernel.org/r/[email protected]: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Reviewed-by: William Kucharski <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Cc: Dave Chinner <[email protected]>
Cc: Hugh Dickins <[email protected]>
Cc: Johannes Weiner <[email protected]>
Cc: Kirill A. Shutemov <[email protected]>
Cc: Yang Shi <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions