[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <cover.1466608332.git.jbaron@akamai.com>
Date: Wed, 22 Jun 2016 11:32:49 -0400
From: Jason Baron <jbaron@...mai.com>
To: eric.dumazet@...il.com, davem@...emloft.net
Cc: netdev@...r.kernel.org
Subject: [PATCH v2 net-next 0/2] tcp: reduce cpu usage when SO_SNDBUF is set
Hi,
I've added a patch to upgrade smp_mb__after_atomic() to a smp_mb()
as Eric Dumazet pointed out. Also combined the clearing of
SOCK_SHORT_WRITE with SOCK_QUEUE_SHRUNK.
Thanks,
-Jason
v2:
-upgrade smp_mb__after_atomic to smp_mb() in tcp_poll()
-combine clear of SOCK_SHORT_WRITE with SOCK_QUEUE_SHRUNK
Jason Baron (2):
tcp: replace smp_mb__after_atomic() with smp_mb() in tcp_poll()
tcp: reduce cpu usage when SO_SNDBUF is set
include/net/sock.h | 6 ++++++
net/ipv4/tcp.c | 26 +++++++++++++++++++-------
net/ipv4/tcp_input.c | 5 +++--
3 files changed, 28 insertions(+), 9 deletions(-)
--
2.6.1
Powered by blists - more mailing lists