[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Xen-devel] Re: [PATCH v3] libvchan: interdomain communications library
Daniel De Graaf writes ("Re: [PATCH v3] libvchan: interdomain communications
> Making this change has exposed an interesting ordering dependency in the
> notify API under Linux: the file descriptor for gntdev or gntalloc must be
> less than the file descriptor for evtchn in order for the event channel to
> still be active when the unmap occurs on a crash. The init functions of
> libvchan do open the files in the proper order for this to happen.
Wow, that's pretty crazy. Surely the gnt* fd should have an internal
reference to the evtchn fd ?
Xen-devel mailing list