From: Paolo Bonzini <pbonzini@redhat.com>
To: Alex Shi <alex.shi@linux.alibaba.com>
Cc: Peter Zijlstra <peterz@infradead.org>,
Ingo Molnar <mingo@kernel.org>,
Frederic Weisbecker <frederic@kernel.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] KVM: remove unused guest_enter
Date: Sun, 19 Jan 2020 10:12:07 +0100 [thread overview]
Message-ID: <19d27860-c2d1-455e-9690-9e381f255130@redhat.com> (raw)
In-Reply-To: <1579145559-168038-1-git-send-email-alex.shi@linux.alibaba.com>
On 16/01/20 04:32, Alex Shi wrote:
> After commit 61bd0f66ff92 ("KVM: PPC: Book3S HV: Fix guest time accounting
> with VIRT_CPU_ACCOUNTING_GEN"), no one use this function anymore, So better
> to remove it.
>
> Signed-off-by: Alex Shi <alex.shi@linux.alibaba.com>
> Cc: Paolo Bonzini <pbonzini@redhat.com>
> Cc: Peter Zijlstra <peterz@infradead.org>
> Cc: Ingo Molnar <mingo@kernel.org>
> Cc: Frederic Weisbecker <frederic@kernel.org>
> Cc: linux-kernel@vger.kernel.org
> ---
> include/linux/context_tracking.h | 9 ---------
> 1 file changed, 9 deletions(-)
>
> diff --git a/include/linux/context_tracking.h b/include/linux/context_tracking.h
> index 64ec82851aa3..8150f5ac176c 100644
> --- a/include/linux/context_tracking.h
> +++ b/include/linux/context_tracking.h
> @@ -154,15 +154,6 @@ static inline void guest_exit_irqoff(void)
> }
> #endif /* CONFIG_VIRT_CPU_ACCOUNTING_GEN */
>
> -static inline void guest_enter(void)
> -{
> - unsigned long flags;
> -
> - local_irq_save(flags);
> - guest_enter_irqoff();
> - local_irq_restore(flags);
> -}
> -
> static inline void guest_exit(void)
> {
> unsigned long flags;
>
Queued, thanks.
Paolo
prev parent reply other threads:[~2020-01-19 9:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-16 3:32 Alex Shi
2020-01-19 9:12 ` Paolo Bonzini [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19d27860-c2d1-455e-9690-9e381f255130@redhat.com \
--to=pbonzini@redhat.com \
--cc=alex.shi@linux.alibaba.com \
--cc=frederic@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=peterz@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®