diff options
author | Wei Yang <[email protected]> | 2024-08-08 00:14:14 +0000 |
---|---|---|
committer | Mike Rapoport (Microsoft) <[email protected]> | 2024-08-11 19:19:00 +0300 |
commit | 0910bf0ef85c5404aac94394cb31e076e4eb03f1 (patch) | |
tree | 7e5198c845c915b35babab5d4bfa359a1082dd98 /arch/s390/mm/init.c | |
parent | d0f8a8973f265f6a276f99d091af99edfb2b87de (diff) |
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 <[email protected]>
CC: Mike Rapoport <[email protected]>
CC: David Hildenbrand <[email protected]>
CC: Oleg Nesterov <[email protected]>
Acked-by: David Hildenbrand <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mike Rapoport (Microsoft) <[email protected]>
Diffstat (limited to 'arch/s390/mm/init.c')
0 files changed, 0 insertions, 0 deletions