linux/Documentation/admin-guide/mm
Kirill A. Shutemov 71a2c112a0 khugepaged: introduce 'max_ptes_shared' tunable
'max_ptes_shared' specifies how many pages can be shared across multiple
processes.  Exceeding the number would block the collapse::

	/sys/kernel/mm/transparent_hugepage/khugepaged/max_ptes_shared

A higher value may increase memory footprint for some workloads.

By default, at least half of pages has to be not shared.

[colin.king@canonical.com: fix several spelling mistakes]
  Link: http://lkml.kernel.org/r/20200420084241.65433-1-colin.king@canonical.com
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Tested-by: Zi Yan <ziy@nvidia.com>
Reviewed-by: William Kucharski <william.kucharski@oracle.com>
Reviewed-by: Zi Yan <ziy@nvidia.com>
Acked-by: Yang Shi <yang.shi@linux.alibaba.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: John Hubbard <jhubbard@nvidia.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Ralph Campbell <rcampbell@nvidia.com>
Link: http://lkml.kernel.org/r/20200416160026.16538-9-kirill.shutemov@linux.intel.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-06-03 20:09:46 -07:00
..
cma_debugfs.rst docs: admin-guide: add a series of orphaned documents 2019-07-15 11:03:02 -03:00
concepts.rst docs/admin-guide/mm/concepts.rst: grammar and style fixups 2018-11-20 09:26:10 -07:00
hugetlbpage.rst docs/vm: move numa_memory_policy.rst to Documentation/admin-guide/mm 2018-05-08 09:31:31 -06:00
idle_page_tracking.rst tools/vm/page-types.c: add support for idle page tracking 2018-08-17 16:20:28 -07:00
index.rst docs: admin-guide: add a series of orphaned documents 2019-07-15 11:03:02 -03:00
ksm.rst docs: admin-guide: move sysctl directory to it 2019-07-15 11:03:01 -03:00
memory-hotplug.rst memory-hotplug.rst: add some details about locking internals 2018-10-31 08:54:17 -07:00
numa_memory_policy.rst docs: cgroup-v1: add it to the admin-guide book 2019-07-15 11:03:02 -03:00
numaperf.rst docs: mm: numaperf.rst: get rid of a build warning 2019-06-08 13:42:10 -06:00
pagemap.rst mm: convert PG_balloon to PG_offline 2019-03-05 21:07:14 -08:00
soft-dirty.rst
transhuge.rst khugepaged: introduce 'max_ptes_shared' tunable 2020-06-03 20:09:46 -07:00
userfaultfd.rst docs: mm: userfaultfd.rst: use a cross-reference for a section 2020-04-20 15:45:23 -06:00