mbox series

[net-next,0/2] tcp: mem pressure vs SO_RCVLOWAT

Message ID 20210212232214.2869897-1-eric.dumazet@gmail.com (mailing list archive)
Headers show
Series tcp: mem pressure vs SO_RCVLOWAT | expand

Message

Eric Dumazet Feb. 12, 2021, 11:22 p.m. UTC
From: Eric Dumazet <edumazet@google.com>

First patch fixes an issue for applications using SO_RCVLOWAT
to reduce context switches.

Second patch is a cleanup.

Eric Dumazet (2):
  tcp: fix SO_RCVLOWAT related hangs under mem pressure
  tcp: factorize logic into tcp_epollin_ready()

 include/net/tcp.h    | 21 +++++++++++++++++++--
 net/ipv4/tcp.c       | 16 ++++------------
 net/ipv4/tcp_input.c | 11 ++---------
 3 files changed, 25 insertions(+), 23 deletions(-)