summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorVineeth Remanan Pillai <vineethp@amazon.com>2017-02-07 18:59:01 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-07-21 05:42:16 (GMT)
commit21f79ae43fd2d498847ff82161027a62a1269926 (patch)
tree06f14b3b08da68f6095375e47ee9054c40953b4a /net
parentf0cd77ded5127168b1b83ca2f366ee17e9c0586f (diff)
downloadlinux-21f79ae43fd2d498847ff82161027a62a1269926.tar.xz
xen-netfront: Rework the fix for Rx stall during OOM and network stress
commit 538d92912d3190a1dd809233a0d57277459f37b2 upstream. 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@amazon.com> Fixes: 90c311b0eeea (xen-netfront: Fix Rx stall during network stress and OOM) Reported-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Reviewed-by: Boris Ostrovsky <boris.ostrovsky@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net> Cc: Eduardo Valentin <eduval@amazon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions