summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorJeremy Cline <jcline@redhat.com>2019-07-16 10:49:08 -0400
committerJonathan Corbet <corbet@lwn.net>2019-07-22 14:45:12 -0600
commit74af0d0be1d76d407ebda3b357108111bd62ff3e (patch)
tree53b66d2e8a4ac773af0d428922b6195ec0890bcf /Documentation
parent48ffc3d12b55bed8d9452a89bc13de4864dc3106 (diff)
docs/vm: transhuge: fix typo in madvise reference
Fix an off-by-one typo in the transparent huge pages admin documentation. Signed-off-by: Jeremy Cline <jcline@redhat.com> Acked-by: Mike Rapoport <rppt@linux.ibm.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/admin-guide/mm/transhuge.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/admin-guide/mm/transhuge.rst b/Documentation/admin-guide/mm/transhuge.rst
index 7ab93a8404b9..bd5714547cee 100644
--- a/Documentation/admin-guide/mm/transhuge.rst
+++ b/Documentation/admin-guide/mm/transhuge.rst
@@ -53,7 +53,7 @@ disabled, there is ``khugepaged`` daemon that scans memory and
collapses sequences of basic pages into huge pages.
The THP behaviour is controlled via :ref:`sysfs <thp_sysfs>`
-interface and using madivse(2) and prctl(2) system calls.
+interface and using madvise(2) and prctl(2) system calls.
Transparent Hugepage Support maximizes the usefulness of free memory
if compared to the reservation approach of hugetlbfs by allowing all