From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Xu Subject: [PATCH 0/2] KVM: some swait cleanups Date: Thu, 9 Nov 2017 17:18:52 +0800 Message-ID: <20171109091854.24367-1-peterx@redhat.com> Cc: Paolo Bonzini , peterx@redhat.com, =?UTF-8?q?Radim=20Kr=C4=8Dm=C3=A1=C5=99?= To: kvm@vger.kernel.org Return-path: Received: from mx1.redhat.com ([209.132.183.28]:45954 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753834AbdKIJTB (ORCPT ); Thu, 9 Nov 2017 04:19:01 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 66C1681DF5 for ; Thu, 9 Nov 2017 09:19:01 +0000 (UTC) Sender: kvm-owner@vger.kernel.org List-ID: 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