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

Re: [Xen-devel] [PATCHv5 2/3] grant_table: convert grant table rwlock to percpu rwlock



On Fri, 2015-12-18 at 16:08 +0000, Malcolm Crossley wrote:
>Â
> Âxen/arch/arm/mm.cÂÂÂÂÂÂÂÂÂÂÂÂÂ|ÂÂÂ4 +-
[...]
> diff --git a/xen/arch/arm/mm.c b/xen/arch/arm/mm.c
> index 47bfb27..81f9e2e 100644
> --- a/xen/arch/arm/mm.c
> +++ b/xen/arch/arm/mm.c
> @@ -1055,7 +1055,7 @@ int xenmem_add_to_physmap_one(
> ÂÂÂÂÂswitch ( space )
> ÂÂÂÂÂ{
> ÂÂÂÂÂcase XENMAPSPACE_grant_table:
> -ÂÂÂÂÂÂÂÂwrite_lock(&d->grant_table->lock);
> +ÂÂÂÂÂÂÂÂgrant_write_lock(d->grant_table);
> Â
> ÂÂÂÂÂÂÂÂÂif ( d->grant_table->gt_version == 0 )
> ÂÂÂÂÂÂÂÂÂÂÂÂÂd->grant_table->gt_version = 1;
> @@ -1085,7 +1085,7 @@ int xenmem_add_to_physmap_one(
> Â
> ÂÂÂÂÂÂÂÂÂt = p2m_ram_rw;
> Â
> -ÂÂÂÂÂÂÂÂwrite_unlock(&d->grant_table->lock);
> +ÂÂÂÂÂÂÂÂgrant_write_unlock(d->grant_table);

ARML Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
_______________________________________________
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®.