diff options
| author | Liu Shixin <[email protected]> | 2022-09-09 10:16:53 +0800 |
|---|---|---|
| committer | Andrew Morton <[email protected]> | 2022-10-03 14:03:08 -0700 |
| commit | f4981502088f8ea704beeedf3470e1d53bc2e46c (patch) | |
| tree | 01f5ad21737aabffcb9948a10fdf9aa5f4123c76 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 13cc378403a83e70430ae9bad53fd65199f21fe1 (diff) | |
mm/huge_memory: prevent THP_ZERO_PAGE_ALLOC increased twice
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/[email protected]
Signed-off-by: Liu Shixin <[email protected]>
Cc: Alexander Potapenko <[email protected]>
Cc: Vlastimil Babka <[email protected]>
Cc: Andrea Arcangeli <[email protected]>
Cc: Kefeng Wang <[email protected]>
Cc: "Kirill A. Shutemov" <[email protected]>
Cc: Mike Kravetz <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions