[PATCH 1/1] docs: proc.rst: /proc/PID/maps: fix malformed table

From: Suren Baghdasaryan
Date: Tue Nov 23 2021 - 13:59:38 EST


Fix malformed table describing "pathname" values for mappings not
associated with a file.

Fixes: 2df148be9486 ("mm: add a field to store names for private anonymous memory")
Reported-by: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx>
Signed-off-by: Suren Baghdasaryan <surenb@xxxxxxxxxx>
---
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 46c1f5243028..061744c436d9 100644
--- a/Documentation/filesystems/proc.rst
+++ b/Documentation/filesystems/proc.rst
@@ -426,14 +426,14 @@ with the memory region, as the case would be with BSS (uninitialized data).
The "pathname" shows the name associated file for this mapping. If the mapping
is not associated with a file:

- ======= ====================================
+ ============= ====================================
[heap] the heap of the program
[stack] the stack of the main process
[vdso] the "virtual dynamic shared object",
the kernel system call handler
-[anon:<name>] an anonymous mapping that has been
+ [anon:<name>] an anonymous mapping that has been
named by userspace
- ======= ====================================
+ ============= ====================================

or if empty, the mapping is anonymous.

--
2.34.0.rc2.393.gf8c9666880-goog