]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: PPC: Book3S HV: Fix preempted vcore stolen time calculation
authorPaul Mackerras <paulus@samba.org>
Thu, 16 Jul 2015 07:11:14 +0000 (17:11 +1000)
committerAlexander Graf <agraf@suse.de>
Sat, 22 Aug 2015 09:16:19 +0000 (11:16 +0200)
commit563a1e93afac4d2c135072461fbab418b9dff43f
treec63509f4a46f0b512c4defd9f460751ed510e04b
parent402813fe39db66e8f3be2a1b5b62dd664e33f6b8
KVM: PPC: Book3S HV: Fix preempted vcore stolen time calculation

Whenever a vcore state is VCORE_PREEMPT we need to be counting stolen
time for it.  This currently isn't the case when we have a vcore that
no longer has any runnable threads in it but still has a runner task,
so we do an explicit call to kvmppc_core_start_stolen() in that case.

Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
arch/powerpc/kvm/book3s_hv.c