Re: [Xen-devel] [PATCH v2] xen/events/fifo: Handle linked events when closing a port

2015-08-04 Thread David Vrabel
On 31/07/15 14:30, Ross Lagerwall wrote: > When a channel is closed and the event is still linked into a queue, > ensure that it is unlinked before completing. If it is not unlinked and > the port is subsequently reused, events may be missed. > > If the CPU to which the event channel bound is onli

Re: [Xen-devel] [PATCH v2] xen/events/fifo: Handle linked events when closing a port

2015-07-31 Thread David Vrabel
On 31/07/15 14:30, Ross Lagerwall wrote: > When a channel is closed and the event is still linked into a queue, > ensure that it is unlinked before completing. If it is not unlinked and > the port is subsequently reused, events may be missed. > > If the CPU to which the event channel bound is onli

[Xen-devel] [PATCH v2] xen/events/fifo: Handle linked events when closing a port

2015-07-31 Thread Ross Lagerwall
When a channel is closed and the event is still linked into a queue, ensure that it is unlinked before completing. If it is not unlinked and the port is subsequently reused, events may be missed. If the CPU to which the event channel bound is online, spin until the event is handled by that CPU. If