diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2024-04-12 20:35:00 +0100 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-05-05 17:53:45 -0700 |
| commit | 37bc2ff506b184411e4cc80f111c638b2b4c83d4 (patch) | |
| tree | d602c31d0164361c26059dff755aa442a912e88e /tools/perf/scripts/python | |
| parent | f2b37197c267206979213592923b418039d232dd (diff) | |
mm: return the address from page_mapped_in_vma()
The only user of this function calls page_address_in_vma() immediately
after page_mapped_in_vma() calculates it and uses it to return true/false.
Return the address instead, allowing memory-failure to skip the call to
page_address_in_vma().
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Acked-by: Miaohe Lin <[email protected]>
Reviewed-by: Jane Chu <[email protected]>
Cc: Dan Williams <[email protected]>
Cc: Oscar Salvador <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions