Skip to content

xsk: mitigate the side effect of cq_lock

Jason Xing bpf netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xsk: avoid using heavy lock when the pool is not sharednet/xdp/xsk.c+10 -44 replies
2/2xsk: use a smaller new lock for shared pool caseinclude/net/xsk_buff_pool.h net/xdp/xsk.c net/xdp/xsk_buff_pool.c+17 -130 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/2] xsk: mitigate the side effect of cq_lock

From: Jason Xing <[email protected]>

Two optimizations regarding cq_lock can yield a performance increase because of avoiding disabling and enabling interrupts frequently.

Jason Xing (2):
xsk: avoid using heavy lock when the pool is not shared
xsk: use a smaller new lock for shared pool case

 include/net/xsk_buff_pool.h | 13 +++++++++----
 net/xdp/xsk.c               | 20 ++++++++++++--------
 net/xdp/xsk_buff_pool.c     |  3 ++-
 3 files changed, 23 insertions(+), 13 deletions(-)
Signature · 1 line
2.41.3