diff options
author | Wei Yang <richard.weiyang@gmail.com> | 2024-08-08 02:14:14 +0200 |
---|---|---|
committer | Mike Rapoport (Microsoft) <rppt@kernel.org> | 2024-08-11 18:19:00 +0200 |
commit | 0910bf0ef85c5404aac94394cb31e076e4eb03f1 (patch) | |
tree | 7e5198c845c915b35babab5d4bfa359a1082dd98 /arch | |
parent | mm/memblock: introduce a new helper memblock_estimated_nr_free_pages() (diff) | |
download | linux-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