diff options
| author | Alexander Lobakin <[email protected]> | 2024-03-29 16:55:07 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-04-03 01:13:49 +0000 |
| commit | 39806b96c89ae5d52092c8f86393ecbfaae26697 (patch) | |
| tree | 78701c158045e79d05961247fd068dad9fe12d3c /net/unix/af_unix.c | |
| parent | page_pool: check for PP direct cache locality later (diff) | |
| download | kernel-39806b96c89ae5d52092c8f86393ecbfaae26697.tar.gz kernel-39806b96c89ae5d52092c8f86393ecbfaae26697.zip | |
page_pool: try direct bulk recycling
Now that the checks for direct recycling possibility live inside the
Page Pool core, reuse them when performing bulk recycling.
page_pool_put_page_bulk() can be called from process context as well,
page_pool_napi_local() takes care of this at the very beginning.
Under high .ndo_xdp_xmit() traffic load, the win is 2-3% Pps assuming
the sending driver uses xdp_return_frame_bulk() on Tx completion.
Signed-off-by: Alexander Lobakin <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
