summaryrefslogtreecommitdiffstats
path: root/net/rds/cong.c
diff options
context:
space:
mode:
authorAndy Grover <andy.grover@oracle.com>2010-03-11 14:49:58 +0100
committerDavid S. Miller <davem@davemloft.net>2010-03-17 05:16:55 +0100
commit8e82376e5f72bb576504c8c6117685e56c1b97db (patch)
tree8aa3e7a354620a0d67a403aedd056c9a58b4e57a /net/rds/cong.c
parentRDS: update copy_to_user state in tcp transport (diff)
downloadlinux-8e82376e5f72bb576504c8c6117685e56c1b97db.tar.xz
linux-8e82376e5f72bb576504c8c6117685e56c1b97db.zip
RDS/TCP: Wait to wake thread when write space available
Instead of waking the send thread whenever any send space is available, wait until it is at least half empty. This is modeled on how sock_def_write_space() does it, and may help to minimize context switches. Signed-off-by: Andy Grover <andy.grover@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/cong.c')
0 files changed, 0 insertions, 0 deletions