2017-11-06 10:08:12

by Wanpeng Li

[permalink] [raw]
Subject: Re: [PATCH] KVM: X86: Fix softlockup when get the current kvmclock timestamp

2017-11-06 17:29 GMT+08:00 Paolo Bonzini <[email protected]>:
> On 06/11/2017 01:55, Wanpeng Li wrote:
>> This can be reproduced when running kvm-unit-tests/hyperv_stimer.flat and
>> cpu-hotplug stress simultaneously. kvm_get_time_scale() takes too long which
>> results in softlockup.
>
> Apart from the pr_debug, kvm_get_time_scale should take less than a
> microsecond. The patch is fine, but can you confirm that pr_debug is
> the culprit?

I can still encounter softlockup after removing the pr_debug.

Regards,
Wanpeng Li

From 1583308494823653471@xxx Mon Nov 06 09:30:46 +0000 2017
X-GM-THRID: 1583276151146767154
X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread