From: Jonathan Corbet <corbet@lwn.net>
To: Hongyan Xia <hongyan.xia2@arm.com>
Cc: Hongyan Xia <hongyan.xia2@arm.com>,
Qais Yousef <qyousef@layalina.io>,
Vincent Guittot <vincent.guittot@linaro.org>,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] sched/documentation: elaborate on uclamp limitations
Date: Fri, 05 May 2023 09:30:52 -0600 [thread overview]
Message-ID: <878re2n6c3.fsf@meer.lwn.net> (raw)
In-Reply-To: <20230505152440.142265-1-hongyan.xia2@arm.com>
Hongyan Xia <hongyan.xia2@arm.com> writes:
> The story in 5.2 about util_avg abruptly jumping from 300 when
> Fmax/Fmin == 3 to 1024 when Fmax/Fmin == 4 hides some details about how
> clock_pelt works behind the scenes. Explicitly mention it to make it
> easier for readers to follow.
So this is a nit, but...
> +Although running at Fmin reduces the rate of rq_clock_pelt() to 1/3 thus
> +accumulates util_sum at 1/3 of the rate at Fmax, the clock period
> +(rq_clock_pelt() now minus previous rq_clock_pelt()) in:
> +
> +::
> +
> + util_sum / clock period = util_avg
This can be written as:
...previous rq_clock_pelt()) in::
util_sum / clock period = util_avg
reducing the markup clutter and making the document a little more
readable.
Thanks,
jon
next prev parent reply other threads:[~2023-05-05 15:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-05 15:24 Hongyan Xia
2023-05-05 15:30 ` Jonathan Corbet [this message]
2023-05-18 11:30 ` Qais Yousef
2023-05-18 12:42 ` Hongyan Xia
2023-05-23 9:23 ` Vincent Guittot
2023-05-23 14:39 ` Dietmar Eggemann
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=878re2n6c3.fsf@meer.lwn.net \
--to=corbet@lwn.net \
--cc=hongyan.xia2@arm.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=qyousef@layalina.io \
--cc=vincent.guittot@linaro.org \
/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
all inboxes | Powered by JetHome®