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

[Xen-devel] Re: [PATCH] Remove uneeded 'else if' when closing event channels.



On Fri, 2005-12-02 at 10:17 +0000, Keir Fraser wrote:
> On 2 Dec 2005, at 05:05, Tony Breeds wrote:
> 
> > Hi all,
> >     As far as I can see the remote domain cannot change from
> > underneath us.  Which means that the test for that situation is
> > pointless
> >
> > This patch removes it.
> >
> > Signed-off-by: Tony Breeds <tony@xxxxxxxxxxxxxxxxxx>
> 
> It can change, between lines 340 and 341 (where we have no locks held).

Hmm, you mean same domain makes another hypercall in parallel to close
the event channel then rebind it to a different domain?

In which case, close fails with EINVAL?

Confused,
Rusty.
-- 
A bad analogy is like a leaky screwdriver -- Richard Braakman


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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