[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 05 May 2023 09:30:52 -0600
From: Jonathan Corbet <corbet@....net>
To: Hongyan Xia <hongyan.xia2@....com>
Cc: Hongyan Xia <hongyan.xia2@....com>,
Qais Yousef <qyousef@...alina.io>,
Vincent Guittot <vincent.guittot@...aro.org>,
linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] sched/documentation: elaborate on uclamp limitations
Hongyan Xia <hongyan.xia2@....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
Powered by blists - more mailing lists