Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1694379pxb; Thu, 28 Oct 2021 08:23:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyq9RUlmH0rTwS0WN7JczBZKBcNCGGtajme4H9ZWWi6r2nO35Kd8KDQ7UyZOT7LLKSgp60o X-Received: by 2002:aa7:da84:: with SMTP id q4mr6924953eds.371.1635434592537; Thu, 28 Oct 2021 08:23:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635434592; cv=none; d=google.com; s=arc-20160816; b=q8i633kIVhzzq9d/vITxnegmkxwqJ6T+WMsaIXhUN31wmCwH76Jq4sGh75C4FdWlDq 05s99rco0k2IFCXktm9ufhlQuzByHFhZ3IlVMweBx+P2OrehfoQtb3lS2QhF9LfPDaKs 1/spP692X7pk6weNL4nUySRxkRRJxnRDT3Mzde1YGnP8SpX8TvbpGCcWQWbsfZ6l8W8v QWlQAwSpb5vPN3RIahFH3+NnwbPrqVXhIYQPqUqvjzE0XDu+0ojAzSPOdp55HxTyNz8D YUlIpKaxqWH8cYXSEIxec5wYiX7pTudpi9nEFR+24qiNOSg7b39tZvz55vksciBFyVNM vgxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id:dkim-signature; bh=DVtdqDXww3KgKAYnCusxuLMUzDOnQrWVlJbyjA+vsRU=; b=1BRD7jqN9u/fj1atRB10IiS3S+o13U0QXbtSxJchOTw6isEWUeDT1BG6dkRxamQWUj 3Wm6rfSUbBvDNdNitr/IbDNpVCnwMcUc2+T+SBl/byvSwxA9/XiN1J+kHD6zkRoMlAgL dN8Py/DdJ6aHc9TBszWiRXDvceTPRUxjVbLHilDV/6uh5aptU6HS2ZqzbNb9rkHtJR2i c3Vwy21tjxDTbow0Hez7LJNR070Rn/w4lTCHsyPHbVU8PUnGe5pqcT41+E6DEGMK7bZ1 +DgTMDewCRIJkGk8UoVNXqUXHLhpmneTP0tPe9yXNmXtIyZZ87OW4Vcjstems0ZNu0cP ObHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gPjdPwe+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id jr12si4349684ejb.335.2021.10.28.08.22.47; Thu, 28 Oct 2021 08:23:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=gPjdPwe+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231402AbhJ1PTa (ORCPT + 99 others); Thu, 28 Oct 2021 11:19:30 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:51753 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231451AbhJ1PT3 (ORCPT ); Thu, 28 Oct 2021 11:19:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635434221; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DVtdqDXww3KgKAYnCusxuLMUzDOnQrWVlJbyjA+vsRU=; b=gPjdPwe+/dQQApVozTccKru8Z7yTs10NqTYTLMoUaiwU/wZp/C4jVZNE5EP7qqOKGtcaav ybmJ77PccO0LBblYbytt5fUNLZrfdl7QmS19gEmBsEznkLSS3uu6Y1fPZjAfdZBp23Pjdu 5jeJzpb09HryIvwGV0tiqmzFviBYahw= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-252-MW_4YzIxOem6d6CcDHBrfA-1; Thu, 28 Oct 2021 11:16:52 -0400 X-MC-Unique: MW_4YzIxOem6d6CcDHBrfA-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E298B19200C1; Thu, 28 Oct 2021 15:16:48 +0000 (UTC) Received: from starship (unknown [10.40.194.243]) by smtp.corp.redhat.com (Postfix) with ESMTP id BF85560BF1; Thu, 28 Oct 2021 15:16:37 +0000 (UTC) Message-ID: Subject: Re: [PATCH v2 30/43] KVM: Drop unused kvm_vcpu.pre_pcpu field From: Maxim Levitsky To: Sean Christopherson , Marc Zyngier , Huacai Chen , Aleksandar Markovic , Paul Mackerras , Anup Patel , Paul Walmsley , Palmer Dabbelt , Albert Ou , Christian Borntraeger , Janosch Frank , Paolo Bonzini Cc: James Morse , Alexandru Elisei , Suzuki K Poulose , Atish Patra , David Hildenbrand , Cornelia Huck , Claudio Imbrenda , Vitaly Kuznetsov , Wanpeng Li , Jim Mattson , Joerg Roedel , linux-arm-kernel@lists.infradead.org, kvmarm@lists.cs.columbia.edu, linux-mips@vger.kernel.org, kvm@vger.kernel.org, kvm-ppc@vger.kernel.org, kvm-riscv@lists.infradead.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, David Matlack , Oliver Upton , Jing Zhang Date: Thu, 28 Oct 2021 18:16:36 +0300 In-Reply-To: <20211009021236.4122790-31-seanjc@google.com> References: <20211009021236.4122790-1-seanjc@google.com> <20211009021236.4122790-31-seanjc@google.com> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-2.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2021-10-08 at 19:12 -0700, Sean Christopherson wrote: > Remove kvm_vcpu.pre_pcpu as it no longer has any users. No functional > change intended. > > Signed-off-by: Sean Christopherson > --- > include/linux/kvm_host.h | 1 - > virt/kvm/kvm_main.c | 1 - > 2 files changed, 2 deletions(-) > > diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h > index 1fa38dc00b87..87996b22e681 100644 > --- a/include/linux/kvm_host.h > +++ b/include/linux/kvm_host.h > @@ -304,7 +304,6 @@ struct kvm_vcpu { > u64 requests; > unsigned long guest_debug; > > - int pre_pcpu; > struct list_head blocked_vcpu_list; > > struct mutex mutex; > diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c > index c870cae7e776..2bbf5c9d410f 100644 > --- a/virt/kvm/kvm_main.c > +++ b/virt/kvm/kvm_main.c > @@ -426,7 +426,6 @@ static void kvm_vcpu_init(struct kvm_vcpu *vcpu, struct kvm *kvm, unsigned id) > #endif > kvm_async_pf_vcpu_init(vcpu); > > - vcpu->pre_pcpu = -1; > INIT_LIST_HEAD(&vcpu->blocked_vcpu_list); > > kvm_vcpu_set_in_spin_loop(vcpu, false); Reviewed-by: Maxim Levitsky Best regards, Maxim Levitsky