Skip to contentSkip to conversation

docs/vm: transhuge: fix typo in madvise reference

PATCH Applied Jeremy Cline 3 participants 3 messages Jul 16, 2019 – Jul 22, 2019

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs/vm: transhuge: fix typo in madvise reference

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

---
 Documentation/admin-guide/mm/transhuge.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/admin-guide/mm/transhuge.rst +1 -1
index 7ab93a8404b9..bd5714547cee 100644
@@ -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
Signature · 1 line
2.21.0
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Jeremy Cline

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

Quoted 20 lines
---
 Documentation/admin-guide/mm/transhuge.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/admin-guide/mm/transhuge.rst +1 -1
index 7ab93a8404b9..bd5714547cee 100644
@@ -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
Signature · 1 line
2.21.0
Signature · 2 lines
Sincerely yours,
Mike.