Re: [Xen-devel] [PATCH 14/22] xen/arm: p2m: Switch the p2m lock from spinlock to rwlock

2016-07-26 Thread Stefano Stabellini
On Wed, 20 Jul 2016, Julien Grall wrote: > P2M reads do not require to be serialized. This will add contention > when PV drivers are using multi-queue because parallel grant > map/unmaps/copies will happen on DomU's p2m. > > Signed-off-by: Julien Grall Reviewed-by: Stefano Stabellini > I

[Xen-devel] [PATCH 14/22] xen/arm: p2m: Switch the p2m lock from spinlock to rwlock

2016-07-20 Thread Julien Grall
P2M reads do not require to be serialized. This will add contention when PV drivers are using multi-queue because parallel grant map/unmaps/copies will happen on DomU's p2m. Signed-off-by: Julien Grall --- I have not done benchark to verify the performance, however a rwlock is always an