lkml.org 
[lkml]   [2021]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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 :-)

\
 
 \ /
  Last update: 2021-01-15 10:57    [W:0.049 / U:2.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site