From: Kir Kolyshkin <kolyshkin@gmail.com>
To: linux-man@vger.kernel.org
Cc: alx.manpages@gmail.com, mtk.manpages@gmail.com,
Kir Kolyshkin <kolyshkin@gmail.com>
Subject: [PATCH] proc.5: PID/stat: add I, fix P state doc
Date: Tue, 3 Aug 2021 19:15:06 -0700 [thread overview]
Message-ID: <20210804021506.181989-1-kolyshkin@gmail.com> (raw)
1. The I state was not documented -- add it.
2. The P state was documented to be absent since Linux 3.13.
It appears it has been reintroduced in Linux 4.14. Document
it, and move the description up (so that currently present
states will be above the ones that got removed).
3. Consolidate the two descriptions of W state.
This way, the set of states documented matches those that are present
as of Linux v5.14-rc4 ("RSDTtXZPI").
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
---
man5/proc.5 | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/man5/proc.5 b/man5/proc.5
index 69f6e15dd..d6027c469 100644
--- a/man5/proc.5
+++ b/man5/proc.5
@@ -2099,10 +2099,18 @@ Stopped (on a signal) or (before Linux 2.6.33) trace stopped
.IP t
.\" commit 44d90df6b757c59651ddd55f1a84f28132b50d29
Tracing stop (Linux 2.6.33 onward)
-.IP W
-Paging (only before Linux 2.6.0)
.IP X
Dead (from Linux 2.6.0 onward)
+.IP I
+.\" commit 06eb61844d841d0032a9950ce7f8e783ee49c0d0
+Idle kernel thread (Linux 4.14 onward)
+.IP P
+.\" commit f2530dc71cf0822f90bb63ea4600caaef33a66bb
+Parked (Linux 3.9 to
+.\" commit 74e37200de8e9c4e09b70c21c3f13c2071e77457
+3.13,
+.\" commit 8ef9925b02c23e3838d5e593c5cf37984141150f
+from 4.14 onwards)
.IP x
.\" commit 44d90df6b757c59651ddd55f1a84f28132b50d29
Dead (Linux 2.6.33 to
@@ -2117,12 +2125,7 @@ Wakekill (Linux 2.6.33 to
.\" commit 44d90df6b757c59651ddd55f1a84f28132b50d29
Waking (Linux 2.6.33 to
.\" commit 74e37200de8e9c4e09b70c21c3f13c2071e77457
-3.13 only)
-.IP P
-.\" commit f2530dc71cf0822f90bb63ea4600caaef33a66bb
-Parked (Linux 3.9 to
-.\" commit 74e37200de8e9c4e09b70c21c3f13c2071e77457
-3.13 only)
+3.13 only) or (before Linux 2.6.0) paging
.RE
.TP
(4) \fIppid\fP \ %d
--
2.32.0
next reply other threads:[~2021-08-04 2:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-04 2:15 Kir Kolyshkin [this message]
2021-08-04 7:21 ` [PATCH] proc.5: PID/stat: add I, fix P state doc Alejandro Colomar (man-pages)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210804021506.181989-1-kolyshkin@gmail.com \
--to=kolyshkin@gmail.com \
--cc=alx.manpages@gmail.com \
--cc=linux-man@vger.kernel.org \
--cc=mtk.manpages@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox