[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YAFmaMhROa9obFQv@hirez.programming.kicks-ass.net>
Date: Fri, 15 Jan 2021 10:54:48 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Jason Baron <jbaron@...mai.com>
Cc: pbonzini@...hat.com, seanjc@...gle.com, kvm@...r.kernel.org,
x86@...nel.org, linux-kernel@...r.kernel.org,
Thomas Gleixner <tglx@...utronix.de>,
Ingo Molnar <mingo@...hat.com>, Borislav Petkov <bp@...en8.de>,
Andrea Arcangeli <aarcange@...hat.com>
Subject: Re: [PATCH v2 3/3] KVM: x86: use static calls to reduce kvm_x86_ops
overhead
On Fri, Jan 15, 2021 at 10:53:51AM +0100, Peter Zijlstra wrote:
> @@ -190,6 +191,7 @@ extern int static_call_text_reserved(voi
> #elif defined(CONFIG_HAVE_STATIC_CALL)
>
> static inline long __static_call_return0(void) { return 0; }
> +static inline long __static_call_return0(void) { return 1; }
>
> static inline int static_call_init(void) { return 0; }
>
> @@ -239,6 +241,7 @@ static inline int static_call_text_reser
> #else /* Generic implementation */
>
> static inline long __static_call_return0(void) { return 0; }
> +static inline long __static_call_return0(void) { return 1; }
Too much copy-fail... Lemme go make more tea :-)
Powered by blists - more mailing lists