[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH 10/20] xsm: Add IS_PRIV checks to dummy XSM module



>>> On 10.09.12 at 21:49, Daniel De Graaf <dgdegra@xxxxxxxxxxxxx> wrote:
> --- a/xen/include/xsm/xsm.h
> +++ b/xen/include/xsm/xsm.h
> @@ -21,11 +21,7 @@
>  typedef void xsm_op_t;
>  DEFINE_XEN_GUEST_HANDLE(xsm_op_t);
>  
> -#ifdef XSM_ENABLE
> -    #define xsm_call(fn) xsm_ops->fn
> -#else
> -    #define xsm_call(fn) 0
> -#endif
> +#define xsm_call(fn) xsm_ops->fn

So am I getting it right that with XSM disabled this now adds an
indirect call in almost every hypercall? I'm not really in favor of
that, particularly not if that affects hot path ones like the MMU
operations.

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.