diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2024-04-12 19:35:01 +0000 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2024-05-06 00:53:45 +0000 |
| commit | b87f978dc77519943b659dc8b753f544772e7c85 (patch) | |
| tree | 8ba43c870166c249f11c7693a3905f25799fe911 /mm/hugetlb.c | |
| parent | mm: return the address from page_mapped_in_vma() (diff) | |
| download | kernel-b87f978dc77519943b659dc8b753f544772e7c85.tar.gz kernel-b87f978dc77519943b659dc8b753f544772e7c85.zip | |
mm: make page_mapped_in_vma conditional on CONFIG_MEMORY_FAILURE
This function is only currently used by the memory-failure code, so we can
omit it if we're not compiling in the memory-failure code.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Suggested-by: Miaohe Lin <[email protected]>
Reviewed-by: Jane Chu <[email protected]>
Reviewed-by: Oscar Salvador <[email protected]>
Acked-by: Miaohe Lin <[email protected]>
Cc: Dan Williams <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions
