diff options
| author | Eric Dumazet <edumazet@google.com> | 2016-12-03 11:14:51 -0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2016-12-05 13:32:22 -0500 |
| commit | 408f0a6c21e124cc4f6c7aa370b38aa47e55428d (patch) | |
| tree | 11a45f9e4e5cfd77e62d1363ad734e6fe753cd91 /tools/perf/scripts/python | |
| parent | tcp: tsq: add tsq_flags / tsq_enum (diff) | |
| download | linux-408f0a6c21e124cc4f6c7aa370b38aa47e55428d.tar.gz linux-408f0a6c21e124cc4f6c7aa370b38aa47e55428d.zip | |
tcp: tsq: remove one locked operation in tcp_wfree()
Instead of atomically clear TSQ_THROTTLED and atomically set TSQ_QUEUED
bits, use one cmpxchg() to perform a single locked operation.
Since the following patch will also set TCP_TSQ_DEFERRED here,
this cmpxchg() will make this addition free.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
