diff options
| author | ZhangPeng <[email protected]> | 2023-04-04 17:45:15 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2023-04-18 16:29:52 -0700 |
| commit | 92d5df38ca91f138d4964d71a6835add95f99e59 (patch) | |
| tree | 5403576ffdab2b81fb5cffa026969abac8ac6b99 /tools/perf/scripts/python/netdev-times.py | |
| parent | 6b0ba2abbeede5e1756d54277e811cf2783eb0a8 (diff) | |
mm/madvise: use vma_lookup() instead of find_vma()
Using vma_lookup() verifies the address is contained in the found vma.
This results in easier to read the code.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: ZhangPeng <[email protected]>
Reviewed-by: Liam R. Howlett <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions