On Mon, Apr 06, 2026 at 10:51:36AM -0700, Jakub Kicinski wrote:
> On Sat, 4 Apr 2026 20:14:35 -0700 Dipayaan Roy wrote:
> >   Function                        Fragment   Full-page   Delta
> >   ─----------------------------   ─-------   ---------   -----
> >   napi_pp_put_page                  3.93%      0.85%    +3.08%
> >   page_pool_alloc_frag_netmem       1.93%         —     +1.93%
> >   Total page_pool overhead          5.86%      0.85%    +5.01%
> 
> 
> Thanks for the analysis, and presumably recycling the full page is
> cheaper because page_pool_put_unrefed_netmem() hits the fastpath
> because page_pool_napi_local() returns true?
yes right, thus avoiding atomics.

Regards


Reply via email to