]> git.baikalelectronics.ru Git - kernel.git/commit
s390/vtime: correct scaled cputime of partially idle CPUs
authorMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 18 Sep 2015 14:41:36 +0000 (16:41 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 30 Sep 2015 14:22:38 +0000 (16:22 +0200)
commitdd567f4a5fc355d7beb1c849f0b0ce1f901617f4
tree142bbab792f048ffbad3980f11150a19f47c4604
parent1619c7e473a6b44603c544f1ce1c9a73148b4cd1
s390/vtime: correct scaled cputime of partially idle CPUs

The calculation for the SMT scaling factor for a hardware thread
which has been partially idle needs to disregard the cycles spent
by the other threads of the core while the thread is idle.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/kernel/asm-offsets.c
arch/s390/kernel/entry.S
arch/s390/kernel/vtime.c