From: Ross Lagerwall <ross.lagerw...@citrix.com> Date: Tue, 4 Aug 2015 15:40:59 +0100
> Waking the dealloc thread before decrementing inflight_packets is racy > because it means the thread may go to sleep before inflight_packets is > decremented. If kthread_stop() has already been called, the dealloc > thread may wait forever with nothing to wake it. Instead, wake the > thread only after decrementing inflight_packets. > > Signed-off-by: Ross Lagerwall <ross.lagerw...@citrix.com> > --- > Changed in V2: Move wakeup into zerocopy_complete function. Applied, thanks. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel