diff options
author | Paul Mackerras <paulus@au1.ibm.com> | 2014-06-03 08:48:50 +1000 |
---|---|---|
committer | cstl-robot <robot@ibm.com> | 2014-06-03 07:01:36 +0800 |
commit | ee5f2c81b1a015d0d225d8f3fb33c4adbb60cad1 (patch) | |
tree | e0b6ce5674045e8e792b3ef7399b7043906977b9 | |
parent | d7127f58839f17f5564deeda813c97d26e10bfed (diff) | |
download | powerkvm-ee5f2c81b1a015d0d225d8f3fb33c4adbb60cad1.tar.gz |
KVM: PPC: Book3S HV: Increase timeout for grabbing secondary threads
Occasional failures have been seen with split-core mode and migration
where the message "KVM: couldn't grab cpu" appears. This increases
the length of time that we wait from 1ms to 10ms, which seems to
work around the issue.
Fixes: BZ 110865
Signed-off-by: Paul Mackerras <paulus@samba.org>
-rw-r--r-- | arch/powerpc/kvm/book3s_hv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kvm/book3s_hv.c b/arch/powerpc/kvm/book3s_hv.c index 449ffac626c2d2..2bc3aee6d1b258 100644 --- a/arch/powerpc/kvm/book3s_hv.c +++ b/arch/powerpc/kvm/book3s_hv.c @@ -1480,7 +1480,7 @@ static void kvmppc_remove_runnable(struct kvmppc_vcore *vc, static int kvmppc_grab_hwthread(int cpu) { struct paca_struct *tpaca; - long timeout = 1000; + long timeout = 10000; tpaca = &paca[cpu]; |