diff options
| author | Eric Dumazet <[email protected]> | 2016-12-03 11:14:52 -0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-12-05 13:32:22 -0500 |
| commit | b223feb9de2a65c533ff95c08e834fa732906ea5 (patch) | |
| tree | 0327e31d3fe77301791b56fd3a4082cb3229737e /include | |
| parent | 408f0a6c21e124cc4f6c7aa370b38aa47e55428d (diff) | |
tcp: tsq: add shortcut in tcp_tasklet_func()
Under high stress, I've seen tcp_tasklet_func() consuming
~700 usec, handling ~150 tcp sockets.
By setting TCP_TSQ_DEFERRED in tcp_wfree(), we give a chance
for other cpus/threads entering tcp_write_xmit() to grab it,
allowing tcp_tasklet_func() to skip sockets that already did
an xmit cycle.
In the future, we might give to ACK processing an increased
budget to reduce even more tcp_tasklet_func() amount of work.
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions