diff options
| author | Liam R. Howlett <[email protected]> | 2021-09-02 14:56:49 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2021-09-03 09:58:14 -0700 |
| commit | 9b593cb20283e68e5e65b09ca10038935297f05b (patch) | |
| tree | 610de4c811972336130633cc814d80ef6c3667fb /tools/perf/scripts/python | |
| parent | 5b78ed24e8ec48602c1d6f5a188e58d000c81e2b (diff) | |
remap_file_pages: Use vma_lookup() instead of find_vma()
Using vma_lookup() verifies the start address is contained in the found vma.
This results in easier to read code.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Liam R. Howlett <[email protected]>
Reviewed-by: David Hildenbrand <[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