Skip to content

page_pool using alloc_pages_bulk API

Jesper Dangaard Brouer linux-mm linux-nfs lkml netdev 1 version In review

Get series with b4
b4 am 161662166301.940814.9765023867613542235.stgit@firesoul

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3net: page_pool: refactor dma_map into own function page_pool_dma_mapnet/core/page_pool.c+26 -190 replies
2/3net: page_pool: use alloc_pages_bulk in refill code pathnet/core/page_pool.c+46 -260 replies
3/3net: page_pool: convert to use alloc_pages_bulk_array variantinclude/net/page_pool.h net/core/page_pool.c+17 -71 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchIlias Apalodimas
1/3R-b
2/3
3/3

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH mel-git 0/3] page_pool using alloc_pages_bulk API

This patchset is against Mel's tree:
- git://git.kernel.org/pub/scm/linux/kernel/git/mel/linux.git
- Branch: mm-bulk-rebase-v6r5
- https://git.kernel.org/pub/scm/linux/kernel/git/mel/linux.git/log/?h=mm-bulk-rebase-v6r5

The benchmarks are here:
- https://github.com/xdp-project/xdp-project/blob/master/areas/mem/page_pool06_alloc_pages_bulk.org#test-on-mel-git-tree-mm-bulk-rebase-v6r5

The compiler choose a strange code layout see here:
- https://github.com/xdp-project/xdp-project/blob/master/areas/mem/page_pool06_alloc_pages_bulk.org#strange-code-layout
- Used: gcc (GCC) 9.3.1 20200408 (Red Hat 9.3.1-2)

Intent is for Mel to pickup these patches.
---

Jesper Dangaard Brouer (3):
net: page_pool: refactor dma_map into own function page_pool_dma_map
net: page_pool: use alloc_pages_bulk in refill code path
net: page_pool: convert to use alloc_pages_bulk_array variant

 include/net/page_pool.h |    2 -
 net/core/page_pool.c    |  111 +++++++++++++++++++++++++++++++----------------
 2 files changed, 75 insertions(+), 38 deletions(-)

--