Eric Dumazet
a37c2134be
tcp: add exponential backoff in __tcp_send_ack()
...
Whenever host is under very high memory pressure,
__tcp_send_ack() skb allocation fails, and we setup
a 200 ms (TCP_DELACK_MAX) timer before retrying.
On hosts with high number of TCP sockets, we can spend
considerable amount of cpu cycles in these attempts,
add high pressure on various spinlocks in mm-layer,
ultimately blocking threads attempting to free space
from making any progress.
This patch adds standard exponential backoff to avoid
adding fuel to the fire.
Signed-off-by: Eric Dumazet <edumazet@google.com >
Acked-by: Soheil Hassas Yeganeh <soheil@google.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2020-09-30 14:21:30 -07:00
..
2020-06-14 01:57:21 +09:00
2020-08-23 17:36:59 -05:00
2020-09-28 00:51:39 -07:00
2020-08-03 15:48:32 -07:00
2020-09-18 14:12:43 -07:00
2020-07-25 17:49:04 -07:00
2020-09-23 13:24:34 -07:00
2020-09-29 13:22:53 -07:00
2020-08-23 17:36:59 -05:00
2020-08-20 16:02:36 +02:00
2020-09-25 16:50:19 -07:00
2020-09-05 15:57:05 -07:00
2020-09-21 10:13:16 +02:00
2020-08-23 17:36:59 -05:00
2020-09-29 14:02:53 -07:00
2020-09-10 15:09:08 -07:00
2020-09-30 14:21:30 -07:00
2020-08-23 17:36:59 -05:00
2020-04-28 14:39:46 -07:00
2020-09-26 14:17:59 -07:00
2020-05-23 16:56:17 -07:00
2020-09-22 16:45:34 -07:00
2020-09-22 16:45:34 -07:00
2020-08-23 17:36:59 -05:00
2020-09-30 14:21:30 -07:00
2020-09-28 16:01:37 -07:00
2020-08-23 17:36:59 -05:00
2020-07-24 15:41:54 -07:00
2020-08-02 01:02:12 -07:00
2020-09-29 13:26:36 -07:00
2020-08-27 07:55:59 -07:00
2020-06-14 01:57:21 +09:00
2020-07-24 15:41:54 -07:00
2020-09-22 16:45:34 -07:00
2020-09-08 20:12:58 -07:00
2020-08-23 17:36:59 -05:00
2020-09-24 20:17:01 -07:00
2020-08-23 17:36:59 -05:00
2020-09-22 16:45:34 -07:00
2020-09-08 20:04:27 -07:00
2020-09-17 16:53:47 -07:00
2020-08-23 17:36:59 -05:00
2020-09-05 16:01:52 -07:00
2020-06-14 01:57:21 +09:00
2020-09-18 14:24:08 -07:00
2020-09-19 16:40:48 -07:00
2020-08-23 17:36:59 -05:00
2020-05-23 16:36:05 -07:00
2020-09-09 11:04:39 -07:00
2020-09-20 19:09:11 -07:00
2020-08-23 17:36:59 -05:00
2020-09-14 16:18:59 +01:00
2020-09-28 18:48:42 -07:00
2020-09-22 16:45:34 -07:00
2020-09-28 15:19:03 -07:00
2020-09-22 16:45:34 -07:00
2020-07-13 17:20:40 -07:00
2020-09-22 16:45:34 -07:00
2020-09-01 11:47:12 -07:00
2020-09-21 14:51:37 -07:00
2020-08-12 12:56:06 -07:00
2020-09-22 16:45:34 -07:00
2020-08-23 17:36:59 -05:00
2020-09-23 13:11:11 -07:00
2020-08-23 17:36:59 -05:00
2020-08-07 12:43:25 -07:00
2020-06-30 15:57:34 -07:00
2020-07-07 15:41:05 -07:00
2020-05-23 16:56:17 -07:00
2020-09-04 21:28:59 -07:00