docs: hugetlbpage.rst: fix typo in per-node attribute description
Subsystems (4)
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.
Signed-off-by Enze Li <[email protected]>
--- Documentation/admin-guide/mm/hugetlbpage.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Documentation/admin-guide/mm/hugetlbpage.rst +3 -3
@@ -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
Quoted 9 lines · Enze Li
The per-node hugepages section writes the
free_hugepagesandsurplus_hugepagesfile names with stray trailing quotes. Quote the real names as inline literals instead.Signed-off-by Enze Li <[email protected]>
Acked-by Muchun Song <[email protected]>
Thanks