[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] Mini-OS: netfront: Fix rx ring starvation in network_rx
samuel.thibault@xxxxxxxxxxxx said: > > From: Martin Lucina <martin@xxxxxxxxxx> > > Date: Thu, 4 Dec 2014 14:33:53 +0100 > > Subject: [PATCH] Mini-OS: netfront: Fix rx ring starvation in network_rx > > > > In network_rx() we must push the same amount of requests back onto the > > ring in the second loop that we consumed in the first loop. Otherwise > > the ring will eventually starve itself of free request slots and no > > packets will be delivered. > > > > Further, we make the HAVE_LIBC codepath clearer to follow by removing > > the "some" variable from the for loop initialisation and conditions. > > > > Signed-off-by: Martin Lucina <martin@xxxxxxxxxx> > > Acked-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> Thanks. I will merge a suitable version of this patch into our downstream tree. Is there anything else I need to do to ensure this change lands in xen.git? Martin _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |