ACK: [SRU][F][G][H][PATCH 1/1] s390/vtime: fix increased steal time accounting

Krzysztof Kozlowski krzysztof.kozlowski at canonical.com
Tue Mar 30 08:30:00 UTC 2021


On 29/03/2021 18:15, frank.heimes at canonical.com wrote:
> From: Gerald Schaefer <gerald.schaefer at linux.ibm.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1921498
> 
> Commit 152e9b8676c6e ("s390/vtime: steal time exponential moving average")
> inadvertently changed the input value for account_steal_time() from
> "cputime_to_nsecs(steal)" to just "steal", resulting in broken increased
> steal time accounting.
> 
> Fix this by changing it back to "cputime_to_nsecs(steal)".
> 
> Fixes: 152e9b8676c6e ("s390/vtime: steal time exponential moving average")
> Cc: <stable at vger.kernel.org> # 5.1
> Reported-by: Sabine Forkel <sabine.forkel at de.ibm.com>
> Reviewed-by: Heiko Carstens <hca at linux.ibm.com>
> Signed-off-by: Gerald Schaefer <gerald.schaefer at linux.ibm.com>
> Signed-off-by: Heiko Carstens <hca at linux.ibm.com>
> (cherry picked from commit d54cb7d54877d529bc1e0e1f47a3dd082f73add3)
> Signed-off-by: Frank Heimes <frank.heimes at canonical.com>
> ---
>  arch/s390/kernel/vtime.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)


Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski at canonical.com>

Best regards,
Krzysztof



More information about the kernel-team mailing list