Skip to content

Fix for a recent regression in kvm/queue (guest using 100% cpu time)

Maxim Levitsky kvm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 patch 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1KVM: x86: ignore SIPIs that are received while not in wait-for-sipi statearch/x86/kvm/lapic.c+8 -71 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/1] Fix for a recent regression in kvm/queue (guest using 100% cpu time)

I did a quick bisect yesterday after noticing that my VMs started to take 100% cpu time.

Looks like we don't ignore SIPIs that are received while the CPU isn't waiting for them, and that makes KVM think that CPU always has pending events which makes it never enter an idle state.

Best regards,
Maxim Levitsky

Maxim Levitsky (1):
KVM: x86: ignore SIPIs that are received while not in wait-for-sipi
state

 arch/x86/kvm/lapic.c | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
Signature · 1 line
2.26.2