mbox series

[net-next,v2,0/3] some optimization for page pool

Message ID 20210914121114.28559-1-linyunsheng@huawei.com
Headers show
Series some optimization for page pool | expand

Message

Yunsheng Lin Sept. 14, 2021, 12:11 p.m. UTC
Patch 1: support non-split page when PP_FLAG_PAGE_FRAG is set.
patch 2: avoid calling compound_head() for skb frag page
Patch 3: keep track of pp page when __skb_frag_ref() is called.

V2: add patch 2, adjust the commit log accroding to the discussion
    in V1, and fix a compiler error reported by kernel test robot.

Yunsheng Lin (3):
  page_pool: support non-split page with PP_FLAG_PAGE_FRAG
  pool_pool: avoid calling compound_head() for skb frag page
  skbuff: keep track of pp page when __skb_frag_ref() is called

 include/linux/skbuff.h  | 40 ++++++++++++++++++++++++++++++++++++----
 include/net/page_pool.h | 34 +++++++++++++++++++++++++++++++++-
 net/core/page_pool.c    | 30 +++++++++---------------------
 3 files changed, 78 insertions(+), 26 deletions(-)