]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit72d38b19781de457def0a62dfaa50134fc6e15f0
tree142bbab792f048ffbad3980f11150a19f47c4604
parentadc0b7fbf6fe9967505c0254d9535ec7288186ae
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