[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCHv3 1/6] evtchn: clear xen_consumer when clearing state
>>> On 17.06.15 at 14:02, <david.vrabel@xxxxxxxxxx> wrote: > @@ -1187,7 +1188,6 @@ void free_xen_event_channel(struct domain *d, int port) > BUG_ON(!port_is_valid(d, port)); > chn = evtchn_from_port(d, port); > BUG_ON(!consumer_is_xen(chn)); > - chn->xen_consumer = 0; > > spin_unlock(&d->event_lock); > > @@ -1287,10 +1287,7 @@ void evtchn_destroy(struct domain *d) > > /* Close all existing event channels. */ > for ( i = 0; port_is_valid(d, i); i++ ) > - { > - evtchn_from_port(d, i)->xen_consumer = 0; > (void)__evtchn_close(d, i); > - } How does this work with the consumer_is_xen() check in __evtchn_close()? Jan _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |