xsk: minor optimizations around locks
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v2 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | xsk: do not enable/disable irq when grabbing/releasing xsk_tx_list_locknet/ | +4 | 1 reply | Applied |
| 2/2 | xsk: use a smaller new lock for shared pool caseinclude/ net/ net/ | +17 | 2 replies | Applied |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Maciej Fijalkowski |
|---|---|
| 1/2 | A-b |
| 2/2 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v2 0/2] xsk: minor optimizations around locks
From: Jason Xing <[email protected]>
Two optimizations regarding xsk_tx_list_lock and cq_lock can yield a performance increase because of avoiding disabling and enabling interrupts frequently.
---
V2
1. abandon applying lockless idea around cached_prod because the case as Jakub pointed out can cause the pool messy.
2. add a new patch to handle xsk_tx_list_lock.
Jason Xing (2):
xsk: do not enable/disable irq when grabbing/releasing
xsk_tx_list_lock
xsk: use a smaller new lock for shared pool case
include/net/xsk_buff_pool.h | 13 +++++++++---- net/xdp/xsk.c | 15 ++++++--------- net/xdp/xsk_buff_pool.c | 15 ++++++--------- 3 files changed, 21 insertions(+), 22 deletions(-)
Signature · 1 line
2.41.3