42248b9d34
This patch includes documentation for mTHP counters and an ABI file for sys-kernel-mm-transparent-hugepage, which appears to have been missing for some time. [v-songbaohua@oppo.com: fix the name and unexpected indentation] Link: https://lkml.kernel.org/r/20240415054538.17071-1-21cnbao@gmail.com Link: https://lkml.kernel.org/r/20240412114858.407208-4-21cnbao@gmail.com Signed-off-by: Barry Song <v-songbaohua@oppo.com> Reviewed-by: Ryan Roberts <ryan.roberts@arm.com> Reviewed-by: David Hildenbrand <david@redhat.com> Cc: Chris Li <chrisl@kernel.org> Cc: Domenico Cerasuolo <cerasuolodomenico@gmail.com> Cc: Kairui Song <kasong@tencent.com> Cc: Matthew Wilcox (Oracle) <willy@infradead.org> Cc: Peter Xu <peterx@redhat.com> Cc: Ryan Roberts <ryan.roberts@arm.com> Cc: Suren Baghdasaryan <surenb@google.com> Cc: Yosry Ahmed <yosryahmed@google.com> Cc: Yu Zhao <yuzhao@google.com> Cc: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
19 lines
543 B
Plaintext
19 lines
543 B
Plaintext
What: /sys/kernel/mm/transparent_hugepage/
|
|
Date: April 2024
|
|
Contact: Linux memory management mailing list <linux-mm@kvack.org>
|
|
Description:
|
|
/sys/kernel/mm/transparent_hugepage/ contains a number of files and
|
|
subdirectories,
|
|
|
|
- defrag
|
|
- enabled
|
|
- hpage_pmd_size
|
|
- khugepaged
|
|
- shmem_enabled
|
|
- use_zero_page
|
|
- subdirectories of the form hugepages-<size>kB, where <size>
|
|
is the page size of the hugepages supported by the kernel/CPU
|
|
combination.
|
|
|
|
See Documentation/admin-guide/mm/transhuge.rst for details.
|