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

From: Jesper Dangaard Brouer
Date: Wed Mar 24 2021 - 17:35:59 EST


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(-)

--