Skip to content

Commit 91fe0e4

Browse files
committed
Documentation/filesystems/proc.rst: fix possessive form of "process"
The possessive form of "process" is "process's". Fix up various misdirected attempts at this. Also reflow some paragraphs. Cc: David Hildenbrand <[email protected]> Cc: Wang Yaxin <[email protected]> Cc: xu xin <[email protected]> Cc: Yang Yang <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
1 parent 3ab76c7 commit 91fe0e4

File tree

1 file changed

+18
-16
lines changed

1 file changed

+18
-16
lines changed

Documentation/filesystems/proc.rst

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ fixes/update part 1.1 Stefani Seibold <[email protected]> June 9 2009
4848
3.11 /proc/<pid>/patch_state - Livepatch patch operation state
4949
3.12 /proc/<pid>/arch_status - Task architecture specific information
5050
3.13 /proc/<pid>/fd - List of symlinks to open files
51-
3.14 /proc/<pid/ksm_stat - Information about the process' ksm status.
51+
3.14 /proc/<pid/ksm_stat - Information about the process's ksm status.
5252
5353
4 Configuring procfs
5454
4.1 Mount options
@@ -485,14 +485,15 @@ Memory Area, or VMA) there is a series of lines such as the following::
485485
THPeligible: 0
486486
VmFlags: rd ex mr mw me dw
487487

488-
The first of these lines shows the same information as is displayed for the
489-
mapping in /proc/PID/maps. Following lines show the size of the mapping
490-
(size); the size of each page allocated when backing a VMA (KernelPageSize),
491-
which is usually the same as the size in the page table entries; the page size
492-
used by the MMU when backing a VMA (in most cases, the same as KernelPageSize);
493-
the amount of the mapping that is currently resident in RAM (RSS); the
494-
process' proportional share of this mapping (PSS); and the number of clean and
495-
dirty shared and private pages in the mapping.
488+
The first of these lines shows the same information as is displayed for
489+
the mapping in /proc/PID/maps. Following lines show the size of the
490+
mapping (size); the size of each page allocated when backing a VMA
491+
(KernelPageSize), which is usually the same as the size in the page table
492+
entries; the page size used by the MMU when backing a VMA (in most cases,
493+
the same as KernelPageSize); the amount of the mapping that is currently
494+
resident in RAM (RSS); the process's proportional share of this mapping
495+
(PSS); and the number of clean and dirty shared and private pages in the
496+
mapping.
496497

497498
The "proportional set size" (PSS) of a process is the count of pages it has
498499
in memory, where each page is divided by the number of processes sharing it.
@@ -2233,8 +2234,8 @@ The number of open files for the process is stored in 'size' member
22332234
of stat() output for /proc/<pid>/fd for fast access.
22342235
-------------------------------------------------------
22352236

2236-
3.14 /proc/<pid/ksm_stat - Information about the process' ksm status
2237-
--------------------------------------------------------------------
2237+
3.14 /proc/<pid/ksm_stat - Information about the process's ksm status
2238+
---------------------------------------------------------------------
22382239
When CONFIG_KSM is enabled, each process has this file which displays
22392240
the information of ksm merging status.
22402241

@@ -2288,14 +2289,15 @@ memory consumed.
22882289
ksm_merge_any
22892290
^^^^^^^^^^^^^
22902291

2291-
It specifies whether the process'mm is added by prctl() into the candidate list
2292-
of KSM or not, and if KSM scanning is fully enabled at process level.
2292+
It specifies whether the process's 'mm is added by prctl() into the
2293+
candidate list of KSM or not, and if KSM scanning is fully enabled at
2294+
process level.
22932295

22942296
ksm_mergeable
22952297
^^^^^^^^^^^^^
22962298

2297-
It specifies whether any VMAs of the process'mm are currently applicable
2298-
to KSM.
2299+
It specifies whether any VMAs of the process''s mms are currently
2300+
applicable to KSM.
22992301

23002302
More information about KSM can be found in
23012303
Documentation/admin-guide/mm/ksm.rst.
@@ -2329,7 +2331,7 @@ arguments are now protected against local eavesdroppers.
23292331
hidepid=invisible or hidepid=2 means hidepid=1 plus all /proc/<pid>/ will be
23302332
fully invisible to other users. It doesn't mean that it hides a fact whether a
23312333
process with a specific pid value exists (it can be learned by other means, e.g.
2332-
by "kill -0 $PID"), but it hides process' uid and gid, which may be learned by
2334+
by "kill -0 $PID"), but it hides process's uid and gid, which may be learned by
23332335
stat()'ing /proc/<pid>/ otherwise. It greatly complicates an intruder's task of
23342336
gathering information about running processes, whether some daemon runs with
23352337
elevated privileges, whether other user runs some sensitive program, whether

0 commit comments

Comments
 (0)