Re: [PATCH] xen-netfront: Rework the fix for Rx stall during OOM and network stress
From: David Miller
Date: Thu Feb 09 2017 - 16:35:28 EST
From: Vineeth Remanan Pillai <vineethp@xxxxxxxxxx>
Date: Tue, 7 Feb 2017 18:59:01 +0000
> The commit 90c311b0eeea ("xen-netfront: Fix Rx stall during network
> stress and OOM") caused the refill timer to be triggerred almost on
> all invocations of xennet_alloc_rx_buffers for certain workloads.
> This reworks the fix by reverting to the old behaviour and taking into
> consideration the skb allocation failure. Refill timer is now triggered
> on insufficient requests or skb allocation failure.
> Signed-off-by: Vineeth Remanan Pillai <vineethp@xxxxxxxxxx>
> Fixes: 90c311b0eeea (xen-netfront: Fix Rx stall during network stress and OOM)
> Reported-by: Boris Ostrovsky <boris.ostrovsky@xxxxxxxxxx>