summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorWei Yang <richard.weiyang@gmail.com>2024-08-08 02:14:14 +0200
committerMike Rapoport (Microsoft) <rppt@kernel.org>2024-08-11 18:19:00 +0200
commit0910bf0ef85c5404aac94394cb31e076e4eb03f1 (patch)
tree7e5198c845c915b35babab5d4bfa359a1082dd98 /arch
parentmm/memblock: introduce a new helper memblock_estimated_nr_free_pages() (diff)
downloadlinux-0910bf0ef85c5404aac94394cb31e076e4eb03f1.tar.xz
linux-0910bf0ef85c5404aac94394cb31e076e4eb03f1.zip
kernel/fork.c: 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> CC: Oleg Nesterov <oleg@redhat.com> Acked-by: David Hildenbrand <david@redhat.com> Link: https://lore.kernel.org/r/20240808001415.6298-2-richard.weiyang@gmail.com Signed-off-by: Mike Rapoport (Microsoft) <rppt@kernel.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions