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

Re: [Xen-devel] [PATCH] gnttab: lock the left grant table earlier in __gnttab_unmap_common()

On 11/11/13 02:07, Matt Wilson wrote:
> From: Matt Wilson <msw@xxxxxxxxxx>
> Luckily today maptrack_limit never shrinks. But if at some point in
> the future this were to change, checking maptrack_limit without
> holding the grant table spinlock would no longer be safe.

I don't think we should extend region the grant table lock protects if
it's not needed since we know this lock is heavily contended.

Also, doesn't the 'l' and 'r' prefixes mean 'local' and 'remote' not
'left' and 'right'?


Xen-devel mailing list



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