diff options
author | Paul Mackerras <paulus@au1.ibm.com> | 2014-09-02 02:14:42 -0400 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-09-22 04:11:34 -0400 |
commit | b754c739ee8cd0101dc3f5a24e8c2ff76ee7eff9 (patch) | |
tree | 13795e1db44f496c8d963b739499390b24c1486a /arch/powerpc/kvm/book3s_hv.c | |
parent | e9a94832f3d3ce10f5ae48dd119ccb50cfb0d04e (diff) |
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.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/kvm/book3s_hv.c')
-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 27cced9c7249..4526befd60c5 100644 --- a/arch/powerpc/kvm/book3s_hv.c +++ b/arch/powerpc/kvm/book3s_hv.c | |||
@@ -1489,7 +1489,7 @@ static void kvmppc_remove_runnable(struct kvmppc_vcore *vc, | |||
1489 | static int kvmppc_grab_hwthread(int cpu) | 1489 | static int kvmppc_grab_hwthread(int cpu) |
1490 | { | 1490 | { |
1491 | struct paca_struct *tpaca; | 1491 | struct paca_struct *tpaca; |
1492 | long timeout = 1000; | 1492 | long timeout = 10000; |
1493 | 1493 | ||
1494 | tpaca = &paca[cpu]; | 1494 | tpaca = &paca[cpu]; |
1495 | 1495 | ||