Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 74af0d0b authored by Jeremy Cline's avatar Jeremy Cline Committed by Jonathan Corbet
Browse files

docs/vm: transhuge: fix typo in madvise reference



Fix an off-by-one typo in the transparent huge pages admin
documentation.

Signed-off-by: default avatarJeremy Cline <jcline@redhat.com>
Acked-by: default avatarMike Rapoport <rppt@linux.ibm.com>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 48ffc3d1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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