mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2026-01-24 09:10:01 +00:00
A user who reads THP_ZERO_PAGE_ALLOC may be more concerned about the huge zero pages that are really allocated for thp. It is misleading to increase THP_ZERO_PAGE_ALLOC twice if two threads call get_huge_zero_page concurrently. Don't increase the value if the huge page is not really used. Update Documentation/admin-guide/mm/transhuge.rst to suit. Link: https://lkml.kernel.org/r/20220909021653.3371879-1-liushixin2@huawei.com Signed-off-by: Liu Shixin <liushixin2@huawei.com> Cc: Alexander Potapenko <glider@google.com> Cc: Vlastimil Babka <vbabka@suse.cz> Cc: Andrea Arcangeli <aarcange@redhat.com> Cc: Kefeng Wang <wangkefeng.wang@huawei.com> Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com> Cc: Mike Kravetz <mike.kravetz@oracle.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> |
||
|---|---|---|
| .. | ||
| damon | ||
| cma_debugfs.rst | ||
| concepts.rst | ||
| hugetlbpage.rst | ||
| idle_page_tracking.rst | ||
| index.rst | ||
| ksm.rst | ||
| memory-hotplug.rst | ||
| multigen_lru.rst | ||
| nommu-mmap.rst | ||
| numa_memory_policy.rst | ||
| numaperf.rst | ||
| pagemap.rst | ||
| shrinker_debugfs.rst | ||
| soft-dirty.rst | ||
| swap_numa.rst | ||
| transhuge.rst | ||
| userfaultfd.rst | ||
| zswap.rst | ||