From patchwork Thu Jan 7 11:43:13 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Takuya Yoshikawa X-Patchwork-Id: 7976091 Return-Path: X-Original-To: patchwork-kvm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id F11ECBEEE5 for ; Thu, 7 Jan 2016 11:32:13 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1C7E6201B9 for ; Thu, 7 Jan 2016 11:32:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 39A612014A for ; Thu, 7 Jan 2016 11:32:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752679AbcAGLcJ (ORCPT ); Thu, 7 Jan 2016 06:32:09 -0500 Received: from tama50.ecl.ntt.co.jp ([129.60.39.147]:47128 "EHLO tama50.ecl.ntt.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752013AbcAGLcH (ORCPT ); Thu, 7 Jan 2016 06:32:07 -0500 Received: from vc2.ecl.ntt.co.jp (vc2.ecl.ntt.co.jp [129.60.86.154]) by tama50.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id u07BW2KL008023; Thu, 7 Jan 2016 20:32:02 +0900 Received: from vc2.ecl.ntt.co.jp (localhost [127.0.0.1]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id A550E5F63F; Thu, 7 Jan 2016 20:32:02 +0900 (JST) Received: from imail2.m.ecl.ntt.co.jp (imail2.m.ecl.ntt.co.jp [129.60.5.247]) by vc2.ecl.ntt.co.jp (Postfix) with ESMTP id 976275F612; Thu, 7 Jan 2016 20:32:02 +0900 (JST) Received: from localhost.m.ecl.ntt.co.jp (takuya-think.sic.ecl.ntt.co.jp [129.60.241.50]) by imail2.m.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id u07BTuqf024300; Thu, 7 Jan 2016 20:32:02 +0900 From: Takuya Yoshikawa Subject: [PATCH 1/2] KVM: Remove unused KVM_REQ_KICK to save a bit in vcpu->requests Date: Thu, 7 Jan 2016 20:43:13 +0900 Message-Id: <1452166994-11344-2-git-send-email-yoshikawa_takuya_b1@lab.ntt.co.jp> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1452166994-11344-1-git-send-email-yoshikawa_takuya_b1@lab.ntt.co.jp> References: <1452166994-11344-1-git-send-email-yoshikawa_takuya_b1@lab.ntt.co.jp> To: pbonzini@redhat.com Cc: kvm@vger.kernel.org, Takuya Yoshikawa X-TM-AS-MML: disable Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Takuya Yoshikawa --- include/linux/kvm_host.h | 45 ++++++++++++++++++++++----------------------- 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 61c3e6c..ca9b93e 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h @@ -122,29 +122,28 @@ static inline bool is_error_page(struct page *page) #define KVM_REQ_UNHALT 6 #define KVM_REQ_MMU_SYNC 7 #define KVM_REQ_CLOCK_UPDATE 8 -#define KVM_REQ_KICK 9 -#define KVM_REQ_DEACTIVATE_FPU 10 -#define KVM_REQ_EVENT 11 -#define KVM_REQ_APF_HALT 12 -#define KVM_REQ_STEAL_UPDATE 13 -#define KVM_REQ_NMI 14 -#define KVM_REQ_PMU 15 -#define KVM_REQ_PMI 16 -#define KVM_REQ_WATCHDOG 17 -#define KVM_REQ_MASTERCLOCK_UPDATE 18 -#define KVM_REQ_MCLOCK_INPROGRESS 19 -#define KVM_REQ_EPR_EXIT 20 -#define KVM_REQ_SCAN_IOAPIC 21 -#define KVM_REQ_GLOBAL_CLOCK_UPDATE 22 -#define KVM_REQ_ENABLE_IBS 23 -#define KVM_REQ_DISABLE_IBS 24 -#define KVM_REQ_APIC_PAGE_RELOAD 25 -#define KVM_REQ_SMI 26 -#define KVM_REQ_HV_CRASH 27 -#define KVM_REQ_IOAPIC_EOI_EXIT 28 -#define KVM_REQ_HV_RESET 29 -#define KVM_REQ_HV_EXIT 30 -#define KVM_REQ_HV_STIMER 31 +#define KVM_REQ_DEACTIVATE_FPU 9 +#define KVM_REQ_EVENT 10 +#define KVM_REQ_APF_HALT 11 +#define KVM_REQ_STEAL_UPDATE 12 +#define KVM_REQ_NMI 13 +#define KVM_REQ_PMU 14 +#define KVM_REQ_PMI 15 +#define KVM_REQ_WATCHDOG 16 +#define KVM_REQ_MASTERCLOCK_UPDATE 17 +#define KVM_REQ_MCLOCK_INPROGRESS 18 +#define KVM_REQ_EPR_EXIT 19 +#define KVM_REQ_SCAN_IOAPIC 20 +#define KVM_REQ_GLOBAL_CLOCK_UPDATE 21 +#define KVM_REQ_ENABLE_IBS 22 +#define KVM_REQ_DISABLE_IBS 23 +#define KVM_REQ_APIC_PAGE_RELOAD 24 +#define KVM_REQ_SMI 25 +#define KVM_REQ_HV_CRASH 26 +#define KVM_REQ_IOAPIC_EOI_EXIT 27 +#define KVM_REQ_HV_RESET 28 +#define KVM_REQ_HV_EXIT 29 +#define KVM_REQ_HV_STIMER 30 #define KVM_USERSPACE_IRQ_SOURCE_ID 0 #define KVM_IRQFD_RESAMPLE_IRQ_SOURCE_ID 1