]> git.baikalelectronics.ru Git - kernel.git/commit
s390/vtime: steal time exponential moving average
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 6 Mar 2019 11:31:21 +0000 (13:31 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 6 Mar 2019 13:59:50 +0000 (14:59 +0100)
commit6f3a43f7ff236028e38a39d590d7f3f6c53bd196
tree3d72c5031879ff4bcf418a67f315c0a11bbf40ca
parente3e8f0a9c0ac7e5e3d09e866d6487edccbcf3ba8
s390/vtime: steal time exponential moving average

To be able to judge the current overcommitment ratio for a CPU add
a lowcore field with the exponential moving average of the steal time.
The average is updated every tick.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/lowcore.h
arch/s390/kernel/smp.c
arch/s390/kernel/vtime.c