]> git.dujemihanovic.xyz Git - linux.git/commit
s390/mm: get estimated free pages by memblock api
authorWei Yang <richard.weiyang@gmail.com>
Thu, 8 Aug 2024 00:14:15 +0000 (00:14 +0000)
committerMike Rapoport (Microsoft) <rppt@kernel.org>
Sun, 11 Aug 2024 16:19:07 +0000 (19:19 +0300)
commitcb088e38aab4c7e9ce711c18c66e851c8f4227bb
treede02ccc76de2f61d6a93fffbf1d71fc22002d617
parent0910bf0ef85c5404aac94394cb31e076e4eb03f1
s390/mm: get estimated free pages by memblock api

Instead of getting estimated free pages from memblock directly, we have
introduced an API, memblock_estimated_nr_free_pages(), which is more
friendly for users.

Just replace it with new API, no functional change.

Signed-off-by: Wei Yang <richard.weiyang@gmail.com>
CC: Mike Rapoport <rppt@kernel.org>
CC: David Hildenbrand <david@redhat.com>
Acked-by: David Hildenbrand <david@redhat.com>
Link: https://lore.kernel.org/r/20240808001415.6298-3-richard.weiyang@gmail.com
Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
arch/s390/mm/init.c