diff options
author | Muchun Song <[email protected]> | 2022-06-28 17:22:32 +0800 |
---|---|---|
committer | Andrew Morton <[email protected]> | 2022-08-08 18:06:42 -0700 |
commit | 30152245c63b59f835193b37212991bc24669645 (patch) | |
tree | 83fe6797ea6e766439c1fa645993431365f904e7 /include/linux/fpga/fpga-bridge.h | |
parent | 998a2997885f73e5cc732ac6d661dfa6e0f50654 (diff) |
mm: hugetlb_vmemmap: replace early_param() with core_param()
After the following commit:
78f39084b41d ("mm: hugetlb_vmemmap: add hugetlb_optimize_vmemmap sysctl")
There is no order requirement between the parameter of
"hugetlb_free_vmemmap" and "hugepages" since we have removed the check of
whether HVO is enabled from hugetlb_vmemmap_init(). Therefore we can
safely replace early_param() with core_param() to simplify the code.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Muchun Song <[email protected]>
Reviewed-by: Mike Kravetz <[email protected]>
Cc: Anshuman Khandual <[email protected]>
Cc: Catalin Marinas <[email protected]>
Cc: David Hildenbrand <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: Oscar Salvador <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: Xiongchun Duan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions