linux_dsm_epyc7002/Documentation/admin-guide/mm
David Rientjes dcdf11ee14 mm, shmem: add vmstat for hugepage fallback
The existing thp_fault_fallback indicates when thp attempts to allocate a
hugepage but fails, or if the hugepage cannot be charged to the mem cgroup
hierarchy.

Extend this to shmem as well.  Adds a new thp_file_fallback to complement
thp_file_alloc that gets incremented when a hugepage is attempted to be
allocated but fails, or if it cannot be charged to the mem cgroup
hierarchy.

Additionally, remove the check for CONFIG_TRANSPARENT_HUGE_PAGECACHE from
shmem_alloc_hugepage() since it is only called with this configuration
option.

Signed-off-by: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Yang Shi <yang.shi@linux.alibaba.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
Cc: Mike Rapoport <rppt@linux.ibm.com>
Cc: Jeremy Cline <jcline@redhat.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Mike Kravetz <mike.kravetz@oracle.com>
Cc: Michal Hocko <mhocko@kernel.org>
Cc: Vlastimil Babka <vbabka@suse.cz>
Link: http://lkml.kernel.org/r/alpine.DEB.2.21.2003061421240.7412@chino.kir.corp.google.com
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2020-04-07 10:43:38 -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 docs/admin-guide/mm: start moving here files from Documentation/vm 2018-04-27 17:02:48 -06:00
transhuge.rst mm, shmem: add vmstat for hugepage fallback 2020-04-07 10:43:38 -07:00
userfaultfd.rst docs/admin-guide/mm: start moving here files from Documentation/vm 2018-04-27 17:02:48 -06:00