xsk: mitigate the side effect of cq_lock
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | xsk: avoid using heavy lock when the pool is not sharednet/ | +10 | 4 replies | |
| 2/2 | xsk: use a smaller new lock for shared pool caseinclude/ net/ net/ | +17 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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