|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] fix race condition between libvirtd event handling and libxl fd deregister
Jim Fehlig writes ("Re: [Xen-devel] [PATCH] fix race condition between libvirtd
event handling and libxl fd deregister"):
> Ian Jackson wrote:
> > Yes, I think that's what Bamvor meant but I don't think it's correct
> > that such a lock eliminates the race. libvirt has to release that
> > lock before making the callback (to follow the libxl locking rules
> > which are necessary to avoid deadlock).
>
> And it does. The event loop lock is released just before invoking the
> callback, and re-acquired just after the callback returns.
Right. So I think the race that my patches are trying to fix does exist.
Ian.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |