mm: hugetlb_vmemmap: move code comments to vmemmap_dedup.rst
authorMuchun Song <songmuchun@bytedance.com>
Tue, 28 Jun 2022 09:22:34 +0000 (17:22 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 9 Aug 2022 01:06:43 +0000 (18:06 -0700)
commit838691a1c0ec44739db558834e6954d62577d6b8
tree948c5ec3500236cf7173ba940888b7c8650b8243
parent6213834c10de954470b7195cf0cdbda858edf0ee
mm: hugetlb_vmemmap: move code comments to vmemmap_dedup.rst

All the comments which explains how HVO works are moved to
vmemmap_dedup.rst since

  commit 4917f55b4ef9 ("mm/sparse-vmemmap: improve memory savings for compound devmaps")

except some comments above page_fixed_fake_head().  This commit moves
those comments to vmemmap_dedup.rst and improve vmemmap_dedup.rst as well.

Link: https://lkml.kernel.org/r/20220628092235.91270-8-songmuchun@bytedance.com
Signed-off-by: Muchun Song <songmuchun@bytedance.com>
Cc: Anshuman Khandual <anshuman.khandual@arm.com>
Cc: Catalin Marinas <catalin.marinas@arm.com>
Cc: David Hildenbrand <david@redhat.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: Will Deacon <will@kernel.org>
Cc: Xiongchun Duan <duanxiongchun@bytedance.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Documentation/mm/vmemmap_dedup.rst
include/linux/page-flags.h