Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp2920120pxb; Fri, 8 Oct 2021 19:19:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJYZ29MSCLXWoGuLwF0vF2M94GOZYeQQ6XmxOayh8EGLGm3inPsEDn9JUdWUqBajytBNGN X-Received: by 2002:a05:6402:50d0:: with SMTP id h16mr19840939edb.303.1633745981256; Fri, 08 Oct 2021 19:19:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633745981; cv=none; d=google.com; s=arc-20160816; b=BqcwZefyZxAOog71aT4aCd3b7JX/8hE0digmKYPon8jW4NLEo5jSFBcJdWnt84lahA RCZpxMcCjP9tU2In9kMxLrlZtgmlBmMw2h8bqdkfcA+azSaDvm6zJJQKoeyFqhYFTR8c cJhS0qePOvh9Z8Fsi7oMV4eHP7xe/tMACV5DzANzeCDVRE36IvHKcGjNZosAOrHjF08u fnsr9/m+p/wfBqr6QzOExo+ZNZVbjRFV19vtEaEsuVwM3zrC6v4wRvWR+vWj8Dp6wLte MuoTnz19oRQ5kg+PRUcyAE7ypXMBz6/3SvUsyVx4aAaEwCywoS6a9nw9RsQ+y60HpvZx grjA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:from:subject:references:mime-version :message-id:in-reply-to:date:reply-to:dkim-signature; bh=BSxRZmRXQvTOhREE9VGZ+Ow0Eb/sKeyruI9O693O544=; b=mizA4Ouwi8LKofH2uufcPAlhbNihF8tw34TUw6untEhLik5G/bgbG+vFXOBrXKEeQP KWbV3drh4LwLrn6YKAoFt4rVWc38jYtfDtdrgG57QWaoVWifm8w6v6Y/oWk+mGo5xb1B 5WRgfLFtKxe3hUL/t8yyyKvkjDAY7ODLuwnXNffLAF+IQxPBIHSy4hx+CQUiZ3MscVr5 HmiOOWD6Kfe3EL8T7YZHsFvqzA5D/1vRWnCOHKFzbqyzC771s3WNmqWr9Y4oNQKdrOfO W6g7P2qQaKneOyW4pfzl7FlthAZlJog/Ltu6vvSdJwAHytq9XxDAmQY8yy56NTC2odTr r1wQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=Nq6mAzMn; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 6si1522933ejk.777.2021.10.08.19.19.11; Fri, 08 Oct 2021 19:19:41 -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=@google.com header.s=20210112 header.b=Nq6mAzMn; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244397AbhJICRr (ORCPT + 99 others); Fri, 8 Oct 2021 22:17:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38376 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244194AbhJICR1 (ORCPT ); Fri, 8 Oct 2021 22:17:27 -0400 Received: from mail-yb1-xb4a.google.com (mail-yb1-xb4a.google.com [IPv6:2607:f8b0:4864:20::b4a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9337C06178A for ; Fri, 8 Oct 2021 19:13:56 -0700 (PDT) Received: by mail-yb1-xb4a.google.com with SMTP id t7-20020a258387000000b005b6d7220c79so14966103ybk.16 for ; Fri, 08 Oct 2021 19:13:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=reply-to:date:in-reply-to:message-id:mime-version:references :subject:from:to:cc; bh=BSxRZmRXQvTOhREE9VGZ+Ow0Eb/sKeyruI9O693O544=; b=Nq6mAzMn8lDyB3Y76plThgBUM5+lzQFzvcnH6nf4492bBrVyn9ck7GKbYqiO0fPX1k RtO6Tbh+fVA8kKKB5dfSn40puADaw1AZTWHfUhXRqDCPxkpaLN/jW7P8wDCNf5O+ZN2W o20t3D7+BvjahIP2EWoNGDpuq75LRMnoeyo+2e07rHfheQBVKmrV3GR1iNU5W+dWkxdx q3sbYxMcvibv82b/Gn150GZhBkJ6/ximka4nAWWizGZ/RcYQl+xqLlKkBDXDFmHazy20 mn7+XEIvuuwdQeI+uMO7ytk/Gxh9aFkTHmGL9NUGs5Tnak8RvnSPI5FeOcxYuto9C6rq 7/XA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:reply-to:date:in-reply-to:message-id :mime-version:references:subject:from:to:cc; bh=BSxRZmRXQvTOhREE9VGZ+Ow0Eb/sKeyruI9O693O544=; b=UkTNDaLXZVVywakxNBvPM0zl01/txdIyQ8OsyzW3Fj7B+qml8c7cVMPntnR77LGHlu FwwhMqrCNLaxQ88+NaapFMg7aiB/xe+NtqiSIisaqIVFrMzpWk8NMZ/uS52qRHABoSSl MwdwVUbkq7tGN2zHbi18dGy6ukM4G/kQTmlkpCYKhvqZmAOuyZ1JUvq+0akzytDB7EBi ppXMRhQWP6GZBvcFTENVnAQ4RXAJq5knLQt0L0v8oAY/FSCufPKIZaxH3PefehvMhFbn 2pje1d11OD0UaeONQVK1cPyrZNtW2ar7AhaihU5gELKi8k77YdOXO0tzA0bpbFVO8Nwn Bdsg== X-Gm-Message-State: AOAM5316XeZaiG1Nd/h8Vtjs7q9K/D/jhOgHuf69+1GXSGCi6jnpz3WS RcAb+V1PXtt1Nmn/5q9rVSOS77pIMno= X-Received: from seanjc798194.pdx.corp.google.com ([2620:15c:90:200:e39b:6333:b001:cb]) (user=seanjc job=sendgmr) by 2002:a25:5402:: with SMTP id i2mr7429080ybb.312.1633745635912; Fri, 08 Oct 2021 19:13:55 -0700 (PDT) Reply-To: Sean Christopherson Date: Fri, 8 Oct 2021 19:12:23 -0700 In-Reply-To: <20211009021236.4122790-1-seanjc@google.com> Message-Id: <20211009021236.4122790-31-seanjc@google.com> Mime-Version: 1.0 References: <20211009021236.4122790-1-seanjc@google.com> X-Mailer: git-send-email 2.33.0.882.g93a45727a2-goog Subject: [PATCH v2 30/43] KVM: Drop unused kvm_vcpu.pre_pcpu field From: Sean Christopherson To: 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 , Sean Christopherson , 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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); -- 2.33.0.882.g93a45727a2-goog