diff options
author | David S. Miller <davem@davemloft.net> | 2019-03-23 21:52:37 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-03-23 21:52:37 -0400 |
commit | 7c1508e5f64a784988be4659dd4d6b791c008bbf (patch) | |
tree | c4453bdbec5071e37965795d27fdf8dcba6248c7 /include/net/sock.h | |
parent | 576fd2f7cac3daa36025f0039f9e7cb75b4b4ae0 (diff) | |
parent | ba27b4cdaaa66561aaedb2101876e563738d36fe (diff) | |
download | linux-7c1508e5f64a784988be4659dd4d6b791c008bbf.tar.bz2 |
Merge branch 'net-dev-BYPASS-for-lockless-qdisc'
Paolo Abeni says:
====================
net: dev: BYPASS for lockless qdisc
This patch series is aimed at improving xmit performances of lockless qdisc
in the uncontended scenario.
After the lockless refactor pfifo_fast can't leverage the BYPASS optimization.
Due to retpolines the overhead for the avoidables enqueue and dequeue operations
has increased and we see measurable regressions.
The first patch introduces the BYPASS code path for lockless qdisc, and the
second one optimizes such path further. Overall this avoids up to 3 indirect
calls per xmit packet. Detailed performance figures are reported in the 2nd
patch.
v2 -> v3:
- qdisc_is_empty() has a const argument (Eric)
v1 -> v2:
- use really an 'empty' flag instead of 'not_empty', as
suggested by Eric
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/sock.h')
0 files changed, 0 insertions, 0 deletions