Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jeremy Cline and committed by
Jonathan Corbet
74af0d0b 48ffc3d1

+1 -1
+1 -1
Documentation/admin-guide/mm/transhuge.rst
··· 53 53 collapses sequences of basic pages into huge pages. 54 54 55 55 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. 57 57 58 58 Transparent Hugepage Support maximizes the usefulness of free memory 59 59 if compared to the reservation approach of hugetlbfs by allowing all