diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-04-28 11:58:19 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-05-01 12:19:01 +0100 |
commit | 0a8afd9f026a7f6c835be0fed2ab709d4133797f (patch) | |
tree | e64a468c235a58d43c0433f99e8e233e03a211c2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 052ada096842a910327936b4ed203048906eb2c3 (diff) |
sock: optimise sock_def_write_space barriers
Now we have a separate path for sock_def_write_space() and can go one
step further. When it's called from sock_wfree() we know that there is a
preceding atomic for putting down ->sk_wmem_alloc. We can use it to
replace to replace smb_mb() with a less expensive
smp_mb__after_atomic(). It also removes an extra RCU read lock/unlock as
a small bonus.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions