Thanks for posting this one; I meant to start a thread on this for a
while but never got around to doing so.
I left the 'important' parts of the patch for context but removed all
the arch fiddling to find the max freq, as that is not so important
here.
On Tue, May 15, 2018 at 09:49:02PM -0700, S
From: Peter Zijlstra
Implement arch_scale_freq_capacity() for 'modern' x86. This function
is used by the scheduler to correctly account usage in the face of
DVFS.
For example; suppose a CPU has two frequencies: 500 and 1000 Mhz. When
running a task that would consume 1/3rd of a CPU at 1000 MHz,
2 matches
Mail list logo