]> git.baikalelectronics.ru Git - kernel.git/commit
mm: hugetlb_vmemmap: cleanup hugetlb_free_vmemmap_enabled*
authorMuchun Song <songmuchun@bytedance.com>
Fri, 29 Apr 2022 06:16:15 +0000 (23:16 -0700)
committerakpm <akpm@linux-foundation.org>
Fri, 29 Apr 2022 06:16:15 +0000 (23:16 -0700)
commit233ce5fde260e69309e4df8234c2b1c1391dd6c5
tree2bc957f9e1d13a8f94a67f590f2729f7473b5ac4
parenta4795b52356aeb79be2d4d53adf20087de1e13c2
mm: hugetlb_vmemmap: cleanup hugetlb_free_vmemmap_enabled*

The word of "free" is not expressive enough to express the feature of
optimizing vmemmap pages associated with each HugeTLB, rename this keywork
to "optimize".  In this patch , cheanup the static key and
hugetlb_free_vmemmap_enabled() to make code more expressive.

Link: https://lkml.kernel.org/r/20220404074652.68024-3-songmuchun@bytedance.com
Signed-off-by: Muchun Song <songmuchun@bytedance.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/arm64/mm/flush.c
include/linux/page-flags.h
mm/hugetlb_vmemmap.c
mm/memory_hotplug.c