aboutsummaryrefslogtreecommitdiffstats
path: root/mm/mm_init.c
diff options
context:
space:
mode:
authorDavid Woodhouse <[email protected]>2025-04-23 13:33:41 +0000
committerAndrew Morton <[email protected]>2025-05-13 06:50:44 +0000
commit49d8d78f8c6f5ef58e8dccde0d447132b7b4594a (patch)
treeff898d05a6eec9f14a8469d48552dcd31083e681 /mm/mm_init.c
parentmm, PM: use for_each_valid_pfn() in kernel/power/snapshot.c (diff)
downloadkernel-49d8d78f8c6f5ef58e8dccde0d447132b7b4594a.tar.gz
kernel-49d8d78f8c6f5ef58e8dccde0d447132b7b4594a.zip
mm, x86: use for_each_valid_pfn() from __ioremap_check_ram()
Instead of calling pfn_valid() separately for every single PFN in the range, use for_each_valid_pfn() and only look at the ones which are. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: David Woodhouse <[email protected]> Acked-by: Mike Rapoport (Microsoft) <[email protected]> Cc: Anshuman Khandual <[email protected]> Cc: Ard Biesheuvel <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: David Hildenbrand <[email protected]> Cc: Marc Rutland <[email protected]> Cc: Marc Zyngier <[email protected]> Cc: Ruihan Li <[email protected]> Cc: Will Deacon <[email protected]> Cc: Lorenzo Stoakes <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions