]> Gentwo Git Trees - linux/.git/commit
memblock: drop for_each_free_mem_pfn_range_in_zone_from()
authorMike Rapoport (Microsoft) <rppt@kernel.org>
Mon, 18 Aug 2025 06:46:15 +0000 (09:46 +0300)
committerMike Rapoport (Microsoft) <rppt@kernel.org>
Sun, 14 Sep 2025 05:49:03 +0000 (08:49 +0300)
commite68f150bc11d0a05cbe984a4e5c0f72a95cae07d
treefc6a31031e4564da3b35de6bb614dd72ca1e457a
parent219f624d0690459440c5c4d4ebfc54f0d440d615
memblock: drop for_each_free_mem_pfn_range_in_zone_from()

for_each_free_mem_pfn_range_in_zone_from() and its "backend" implementation
__next_mem_pfn_range_in_zone() were only used by deferred initialization of
the memory map.

Remove them as they are not used anymore.

Reviewed-by: Wei Yang <richard.weiyang@gmail.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
.clang-format
include/linux/memblock.h
mm/memblock.c