]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mm: hugetlb_vmemmap: cleanup hugetlb_free_vmemmap_enabled*
authorMuchun Song <songmuchun@bytedance.com>
Thu, 14 Apr 2022 19:16:44 +0000 (12:16 -0700)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Thu, 14 Apr 2022 21:49:49 +0000 (17:49 -0400)
commit22af50a31e1a8aecc708772121333c6d376cb8b8
treecf343a20f30505babee6b673f9ab69a24f502d27
parent85b6cec042ac4a9ab19e348326bee7451adf7641
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