diff options
| author | Deming Wang <[email protected]> | 2022-10-06 23:03:45 -0400 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-11-08 17:37:13 -0800 |
| commit | 97955f6941f0e7dea64dea22711382daf1db2f76 (patch) | |
| tree | 5b6dbcd5e9030c18779ffabd69bc0052de996968 /tools/perf/scripts/python | |
| parent | 6fe7d712d798e9312e3dff69ec3f5f62f4d03a04 (diff) | |
mm/mincore.c: 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 the code.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Deming Wang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions