>>> On 03.11.15 at 18:58, <malcolm.cross...@citrix.com> wrote:
> --- a/xen/common/grant_table.c
> +++ b/xen/common/grant_table.c
> @@ -178,6 +178,10 @@ struct active_grant_entry {
>  #define _active_entry(t, e) \
>      ((t)->active[(e)/ACGNT_PER_PAGE][(e)%ACGNT_PER_PAGE])
>  
> +bool_t grant_rwlock_barrier;
> +
> +DEFINE_PER_CPU(rwlock_t *, grant_rwlock);

Shouldn't these be per grant table? And wouldn't doing so eliminate
the main limitation of the per-CPU rwlocks?

Jan


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

Reply via email to