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