Skip to contentSkip to conversation

docs/mm: ksm: Use the renamed ksm structure names

PATCH Applied Karl Mehltretter 3 participants 3 messages Sep 5 – Sep 7

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

PATCH 1/1 docs/mm: ksm: Use the renamed ksm structure names

The Reference section of ksm.rst asks mm/ksm.c for mm_slot, stable_node and rmap_item. Commit 21fbd59136e0 ("ksm: add the ksm prefix to the names of the ksm private structures") renamed them to ksm_mm_slot, ksm_stable_node and ksm_rmap_item. Since then only ksm_scan is rendered and the three structures are missing from the generated documentation.

Use the current names.

Fixes 21fbd59136e0 ("ksm: add the ksm prefix to the names of the ksm private structures")
Assisted-by LLM
---
 Documentation/mm/ksm.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/mm/ksm.rst +1 -1
index 2b4f72f1f953..5a80573162de 100644
@@ -78,7 +78,7 @@ The frequency of such scans is defined by
 Reference
 ---------
 .. kernel-doc:: mm/ksm.c
-   :functions: mm_slot ksm_scan stable_node rmap_item
+   :functions: ksm_mm_slot ksm_scan ksm_stable_node ksm_rmap_item
 
 --
 Izik Eidus,
Signature · 1 line
2.53.0
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Karl Mehltretter

The Reference section of ksm.rst asks mm/ksm.c for mm_slot, stable_node and rmap_item. Commit 21fbd59136e0 ("ksm: add the ksm prefix to the names of the ksm private structures") renamed them to ksm_mm_slot, ksm_stable_node and ksm_rmap_item. Since then only ksm_scan is rendered and the three structures are missing from the generated documentation.

Use the current names.

Fixes 21fbd59136e0 ("ksm: add the ksm prefix to the names of the ksm private structures")
Assisted-by LLM

Thanks.

Quoted 9 lines
---
 Documentation/mm/ksm.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/mm/ksm.rst +0 -0
index 2b4f72f1f953..5a80573162de 100644

Documentation/mm/ksm.rst The frequency of such scans is defined by · line 84

Quoted 8 lines
Documentation/mm/ksm.rst +1 -1
@@ -78,7 +78,7 @@ The frequency of such scans is defined by
 Reference
 ---------
 .. kernel-doc:: mm/ksm.c
-   :functions: mm_slot ksm_scan stable_node rmap_item
+   :functions: ksm_mm_slot ksm_scan ksm_stable_node ksm_rmap_item
 
 --
 Izik Eidus,

eh?

Signature · 1 line
~Randy
maintainer Acked-by on v1 1/1
#2 lore raw
In reply to Karl Mehltretter
Quoted 6 lines · Karl Mehltretter

The Reference section of ksm.rst asks mm/ksm.c for mm_slot, stable_node and rmap_item. Commit 21fbd59136e0 ("ksm: add the ksm prefix to the names of the ksm private structures") renamed them to ksm_mm_slot, ksm_stable_node and ksm_rmap_item. Since then only ksm_scan is rendered and the three structures are missing from the generated documentation.

Quoted 6 lines

Use the current names.

Fixes 21fbd59136e0 ("ksm: add the ksm prefix to the names of the ksm private structures")
Assisted-by LLM

---

Signature · 3 lines
Cheers,

David