[PATCH v2] docs: filesystems: ensure proc pid substitutable is complete

Thomas Böhler posted 1 patch 1 week ago
Documentation/filesystems/proc.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[PATCH v2] docs: filesystems: ensure proc pid substitutable is complete
Posted by Thomas Böhler 1 week ago
The entry in proc.rst for 3.14 is missing the closing ">" of the "pid"
field for the ksm_stat file. Add this for both the table of contents and
the actual header for the "ksm_stat" file.

Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Thomas Böhler <witcher@wiredspace.de>
---
Changes in v2:
- Also adjust title underline to match the new length
- Link to v1: https://lore.kernel.org/r/20260130-ksm_stat-v1-1-a6aa0da78de6@wiredspace.de
---
 Documentation/filesystems/proc.rst | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst
index 8256e857e2d7..b0c0d1b45b99 100644
--- a/Documentation/filesystems/proc.rst
+++ b/Documentation/filesystems/proc.rst
@@ -48,7 +48,7 @@ fixes/update part 1.1  Stefani Seibold <stefani@seibold.net>    June 9 2009
   3.11	/proc/<pid>/patch_state - Livepatch patch operation state
   3.12	/proc/<pid>/arch_status - Task architecture specific information
   3.13  /proc/<pid>/fd - List of symlinks to open files
-  3.14  /proc/<pid/ksm_stat - Information about the process's ksm status.
+  3.14  /proc/<pid>/ksm_stat - Information about the process's ksm status.
 
   4	Configuring procfs
   4.1	Mount options
@@ -2289,8 +2289,8 @@ The number of open files for the process is stored in 'size' member
 of stat() output for /proc/<pid>/fd for fast access.
 -------------------------------------------------------
 
-3.14 /proc/<pid/ksm_stat - Information about the process's ksm status
----------------------------------------------------------------------
+3.14 /proc/<pid>/ksm_stat - Information about the process's ksm status
+----------------------------------------------------------------------
 When CONFIG_KSM is enabled, each process has this file which displays
 the information of ksm merging status.
 

---
base-commit: 6b8edfcd661b569f077cc1ea1f7463ec38547779
change-id: 20260130-ksm_stat-4d14366630ea

Best regards,
-- 
Thomas Böhler <witcher@wiredspace.de>

Re: [PATCH v2] docs: filesystems: ensure proc pid substitutable is complete
Posted by Jonathan Corbet 5 days, 2 hours ago
Thomas Böhler <witcher@wiredspace.de> writes:

> The entry in proc.rst for 3.14 is missing the closing ">" of the "pid"
> field for the ksm_stat file. Add this for both the table of contents and
> the actual header for the "ksm_stat" file.
>
> Acked-by: Randy Dunlap <rdunlap@infradead.org>
> Signed-off-by: Thomas Böhler <witcher@wiredspace.de>
> ---
> Changes in v2:
> - Also adjust title underline to match the new length
> - Link to v1: https://lore.kernel.org/r/20260130-ksm_stat-v1-1-a6aa0da78de6@wiredspace.de
> ---
>  Documentation/filesystems/proc.rst | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Applied, thanks.

jon