aboutsummaryrefslogtreecommitdiffstats
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <[email protected]>2024-04-12 19:35:00 +0000
committerAndrew Morton <[email protected]>2024-05-06 00:53:45 +0000
commit37bc2ff506b184411e4cc80f111c638b2b4c83d4 (patch)
treed602c31d0164361c26059dff755aa442a912e88e /mm/hugetlb.c
parentmm/memory-failure: pass addr to __add_to_kill() (diff)
downloadkernel-37bc2ff506b184411e4cc80f111c638b2b4c83d4.tar.gz
kernel-37bc2ff506b184411e4cc80f111c638b2b4c83d4.zip
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 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions