Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information