Skip to content

Commit 74af0d0

Browse files
jeremyclineJonathan Corbet
authored andcommitted
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>
1 parent 48ffc3d commit 74af0d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Documentation/admin-guide/mm/transhuge.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ disabled, there is ``khugepaged`` daemon that scans memory and
5353
collapses sequences of basic pages into huge pages.
5454

5555
The THP behaviour is controlled via :ref:`sysfs <thp_sysfs>`
56-
interface and using madivse(2) and prctl(2) system calls.
56+
interface and using madvise(2) and prctl(2) system calls.
5757

5858
Transparent Hugepage Support maximizes the usefulness of free memory
5959
if compared to the reservation approach of hugetlbfs by allowing all

0 commit comments

Comments
 (0)