From: Jonathan Corbet <corbet@lwn.net>
To: Kit Dallege <xaum.io@gmail.com>
Cc: Shuah Khan <skhan@linuxfoundation.org>,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
Randy Dunlap <rdunlap@infradead.org>
Subject: Re: [PATCH v2 2/3] docs: sched-stats: fix misleading 'per-process' wording
Date: Mon, 16 Mar 2026 07:44:14 -0600 [thread overview]
Message-ID: <87wlzbj3dd.fsf@trenco.lwn.net> (raw)
In-Reply-To: <20260315170521.63794-3-xaum.io@gmail.com>
Kit Dallege <xaum.io@gmail.com> writes:
> /proc/<pid>/schedstat provides statistics for the specific task (thread)
> identified by the pid, not an aggregation across all threads of a
> process. Change 'per-process' to 'per-task' to avoid confusion.
>
> Link: https://bugzilla.kernel.org/show_bug.cgi?id=202635
> Assisted-by: Claude:claude-opus-4-6
> Signed-off-by: Kit Dallege <xaum.io@gmail.com>
> ---
> Documentation/scheduler/sched-stats.rst | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/scheduler/sched-stats.rst b/Documentation/scheduler/sched-stats.rst
> index 9d6a337755f4..9187cb6ce1cb 100644
> --- a/Documentation/scheduler/sched-stats.rst
> +++ b/Documentation/scheduler/sched-stats.rst
> @@ -190,8 +190,8 @@ of idleness (busy, idle and newly idle):
> /proc/<pid>/schedstat
> ---------------------
> schedstats also adds a new /proc/<pid>/schedstat file to include some of
> -the same information on a per-process level. There are three fields in
> -this file correlating for that process to:
> +the same information on a per-task level. There are three fields in
> +this file correlating for that task to:
>
Until you've copied the scheduler maintainers, a change like this will
not go anywhere useful.
jon
next prev parent reply other threads:[~2026-03-16 13:44 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-15 17:05 [PATCH v2 0/3] docs: assorted documentation fixes Kit Dallege
2026-03-15 17:05 ` [PATCH v2 1/3] docs: kernel-doc: fix stale intel_audio.c path in examples Kit Dallege
2026-03-15 17:05 ` [PATCH v2 2/3] docs: sched-stats: fix misleading 'per-process' wording Kit Dallege
2026-03-16 13:44 ` Jonathan Corbet [this message]
2026-03-15 17:05 ` [PATCH v2 3/3] docs: process: fix grammatical errors in 2.Process.rst Kit Dallege
2026-03-16 13:43 ` Jonathan Corbet
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=87wlzbj3dd.fsf@trenco.lwn.net \
--to=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rdunlap@infradead.org \
--cc=skhan@linuxfoundation.org \
--cc=xaum.io@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