diff options
| author | David Hildenbrand (Arm) <david@kernel.org> | 2026-03-21 01:13:34 +0300 |
|---|---|---|
| committer | Andrew Morton <akpm@linux-foundation.org> | 2026-04-05 23:53:31 +0300 |
| commit | 9d80de66a04606eef625cb9141b6d1d8c970dbcb (patch) | |
| tree | 57c2c39ade346050470b80321686f944a4c48e70 /include/linux/memory_hotplug.h | |
| parent | 89e69c7d187eca8a040d4db0e080f79b5b32163d (diff) | |
| download | linux-9d80de66a04606eef625cb9141b6d1d8c970dbcb.tar.xz | |
mm/memory_hotplug: remove for_each_valid_pfn() usage
When offlining memory, we know that the memory range has no holes.
Checking for valid pfns is not required.
Link: https://lkml.kernel.org/r/20260320-sparsemem_cleanups-v2-2-096addc8800d@kernel.org
Signed-off-by: David Hildenbrand (Arm) <david@kernel.org>
Reviewed-by: Lorenzo Stoakes (Oracle) <ljs@kernel.org>
Reviewed-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Cc: Axel Rasmussen <axelrasmussen@google.com>
Cc: Liam Howlett <liam.howlett@oracle.com>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: Sidhartha Kumar <sidhartha.kumar@oracle.com>
Cc: Suren Baghdasaryan <surenb@google.com>
Cc: Vlastimil Babka <vbabka@kernel.org>
Cc: Wei Xu <weixugc@google.com>
Cc: Yuanchu Xie <yuanchu@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'include/linux/memory_hotplug.h')
0 files changed, 0 insertions, 0 deletions
