>>> On 12.06.15 at 15:33, <david.vra...@citrix.com> wrote: > Introduce a per-active entry spin lock to protect active entry state > The grant table lock must be locked before acquiring (locking) an > active entry. > > This is a step in reducing contention on the grant table lock, but > will only do so once the grant table lock is turned into a read-write > lock. > > Based on a patch originally by Matt Wilson <m...@amazon.com>. > > Signed-off-by: David Vrabel <david.vra...@citrix.com> > --- > v12: > - Check for same refs in __gnttab_swap_grant_ref() to avoid deadlock.
I'm glad you spotted this, because the check having been there until v8 I didn't notice it got lost later on. Jan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel