[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCHv11 1/4] gnttab: per-active entry locking
>>> On 02.06.15 at 18:26, <david.vrabel@xxxxxxxxxx> wrote: > @@ -546,13 +567,19 @@ static void mapcount( > > *wrc = *rdc = 0; > > + /* > + * Must have the remote domain's grant table lock while counting > + * its active entries. > + */ > + ASSERT(spin_is_locked(&rd->grant_table->lock)); > + > for ( handle = 0; handle < lgt->maptrack_limit; handle++ ) The comment and the use of lgt->maptrack_limit contradict the documentation you add in patch 2, and it indeed is unclear why at this point the local domain's lock (its maptrack lock starting with patch 2) doesn't also need to be held. Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |