Skip to contentSkip to conversation

docs: hugetlbpage.rst: fix typo in per-node attribute description

PATCH Applied Enze Li 2 participants 2 messages Oct 3 – Oct 6

Subsystems (4)
lore
Share & tools
lore

Enze Li

author
#0 lore raw

PATCH 1/1 docs: hugetlbpage.rst: fix typo in per-node attribute description

The per-node hugepages section writes the free_hugepages and surplus_hugepages file names with stray trailing quotes. Quote the real names as inline literals instead.

---
 Documentation/admin-guide/mm/hugetlbpage.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/admin-guide/mm/hugetlbpage.rst +3 -3
index 3cc15d800be1..2075f1f14a42 100644
@@ -373,9 +373,9 @@ contains the following attribute files::
 	free_hugepages
 	surplus_hugepages
 
-The free\_' and surplus\_' attribute files are read-only.  They return the number
-of free and surplus [overcommitted] huge pages, respectively, on the parent
-node.
+The ``free_hugepages`` and ``surplus_hugepages`` attribute files are read-only.
+They return the number of free and surplus [overcommitted] huge pages,
+respectively, on the parent node.
 
 The ``nr_hugepages`` attribute returns the total number of huge pages on the
 specified node.  When this attribute is written, the number of persistent huge

base-commit: 763ad0211c7b587344f03bc4d1299810aeb736f4

Signature · 1 line
2.25.1