diff options
author | David S. Miller <davem@davemloft.net> | 2022-05-01 12:19:01 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-05-01 12:19:01 +0100 |
commit | b97af72209eedccb79a146b7b6243cffb20739b2 (patch) | |
tree | e64a468c235a58d43c0433f99e8e233e03a211c2 /drivers/net/veth.c | |
parent | net: phy: marvell: update abilities and advertising when switching to SGMII (diff) | |
parent | sock: optimise sock_def_write_space barriers (diff) | |
download | linux-dev-b97af72209eedccb79a146b7b6243cffb20739b2.tar.xz linux-dev-b97af72209eedccb79a146b7b6243cffb20739b2.zip |
Merge branch 'UDP-sock_wfree-opts'
Pavel Begunkov says:
====================
UDP sock_wfree optimisations
The series is not UDP specific but that the main beneficiary. 2/3 saves one
atomic in sock_wfree() and on top 3/3 removes an extra barrier.
Tested with UDP over dummy netdev, 2038491 -> 2099071 req/s (or around +3%).
note: in regards to 1/3, there is a "Should agree with poll..." comment
that I don't completely get, and there is no git history to explain it.
Though I can't see how it could rely on having the second check without
racing with tasks woken by wake_up*().
The series was split from a larger patchset, see
https://lore.kernel.org/netdev/cover.1648981570.git.asml.silence@gmail.com/
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/veth.c')
0 files changed, 0 insertions, 0 deletions