Re: [Xen-devel] [PATCH v4 04/12] x86: patch ctxt_switch_masking() indirect call to direct one

2018-10-03 Thread Andrew Cooper
On 02/10/18 11:13, Jan Beulich wrote:
> Signed-off-by: Jan Beulich 
> Reviewed-by: Wei Liu 

Reviewed-by: Andrew Cooper 

___
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

[Xen-devel] [PATCH v4 04/12] x86: patch ctxt_switch_masking() indirect call to direct one

2018-10-02 Thread Jan Beulich
Signed-off-by: Jan Beulich 
Reviewed-by: Wei Liu 
---
v2: Drop open-coded number from macro invocation.

--- a/xen/arch/x86/cpu/common.c
+++ b/xen/arch/x86/cpu/common.c
@@ -184,7 +184,7 @@ void ctxt_switch_levelling(const struct
}
 
if (ctxt_switch_masking)
-   ctxt_switch_masking(next);
+   alternative_vcall(ctxt_switch_masking, next);
 }
 
 bool_t opt_cpu_info;



___
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel