Kernel KVM virtualization development
 help / color / mirror / Atom feed
* [PATCH 0/2] KVM: some swait cleanups
@ 2017-11-09  9:18 Peter Xu
  2017-11-09  9:18 ` [PATCH 1/2] sched/swait: allow swake_up() to return Peter Xu
  2017-11-09  9:18 ` [PATCH 2/2] KVM: cleanup some users of swake_up() Peter Xu
  0 siblings, 2 replies; 10+ messages in thread
From: Peter Xu @ 2017-11-09  9:18 UTC (permalink / raw)
  To: kvm; +Cc: Paolo Bonzini, peterx, Radim Krčmář

A simple cleanup, but it should also make the
kvm_vcpu.stat.halt_wakeup a bit more accurate.

Please review, thanks.

Peter Xu (2):
  sched/swait: allow swake_up() to return
  KVM: cleanup some users of swake_up()

 arch/x86/kernel/kvm.c |  2 +-
 arch/x86/kvm/lapic.c  |  4 +---
 include/linux/swait.h |  4 ++--
 kernel/sched/swait.c  | 21 ++++++++++++++++-----
 virt/kvm/async_pf.c   |  3 +--
 virt/kvm/kvm_main.c   |  6 +-----
 6 files changed, 22 insertions(+), 18 deletions(-)

-- 
2.13.6

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-11-13  5:19 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-09  9:18 [PATCH 0/2] KVM: some swait cleanups Peter Xu
2017-11-09  9:18 ` [PATCH 1/2] sched/swait: allow swake_up() to return Peter Xu
2017-11-09 10:06   ` Paolo Bonzini
2017-11-10  7:12     ` Peter Xu
2017-11-09 10:23   ` Peter Zijlstra
2017-11-10  7:10     ` Peter Xu
2017-11-10  8:05       ` Peter Zijlstra
2017-11-13  3:33         ` Peter Xu
2017-11-13  5:19           ` Peter Xu
2017-11-09  9:18 ` [PATCH 2/2] KVM: cleanup some users of swake_up() Peter Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox