[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20251023074410.78650-1-byungchul@sk.com>
Date: Thu, 23 Oct 2025 16:44:08 +0900
From: Byungchul Park <byungchul@...com>
To: linux-mm@...ck.org,
netdev@...r.kernel.org
Cc: linux-kernel@...r.kernel.org,
kernel_team@...ynix.com,
harry.yoo@...cle.com,
ast@...nel.org,
daniel@...earbox.net,
davem@...emloft.net,
kuba@...nel.org,
hawk@...nel.org,
john.fastabend@...il.com,
sdf@...ichev.me,
saeedm@...dia.com,
leon@...nel.org,
tariqt@...dia.com,
mbloch@...dia.com,
andrew+netdev@...n.ch,
edumazet@...gle.com,
pabeni@...hat.com,
akpm@...ux-foundation.org,
david@...hat.com,
lorenzo.stoakes@...cle.com,
Liam.Howlett@...cle.com,
vbabka@...e.cz,
rppt@...nel.org,
surenb@...gle.com,
mhocko@...e.com,
horms@...nel.org,
jackmanb@...gle.com,
hannes@...xchg.org,
ziy@...dia.com,
ilias.apalodimas@...aro.org,
willy@...radead.org,
brauner@...nel.org,
kas@...nel.org,
yuzhao@...gle.com,
usamaarif642@...il.com,
baolin.wang@...ux.alibaba.com,
almasrymina@...gle.com,
toke@...hat.com,
asml.silence@...il.com,
bpf@...r.kernel.org,
linux-rdma@...r.kernel.org,
sfr@...b.auug.org.au,
dw@...idwei.uk,
ap420073@...il.com,
dtatulea@...dia.com
Subject: [RFC mm v4 0/2] mm, page_pool: introduce a new page type for page pool in page type
This patch is supposed to go via the mm tree, but it currently also
depends on patches in the net-next tree. For now, this patch is based
on linux-next, but will apply cleanly (or get rebased) after mm tree was
rebased.
Changes from v3:
1. Rebase on next-20251023 of linux-next.
2. Split into two, mm changes and network changes.
3. Improve the comments (feedbacked by Jakub)
Changes from v2:
1. Rebase on linux-next as of Jul 29.
2. Skip 'niov->pp = NULL' when it's allocated using __GFP_ZERO.
3. Change trivial coding style. (feedbacked by Mina)
4. Add Co-developed-by, Acked-by, and Reviewed-by properly.
Thanks to all.
Changes from v1:
1. Rebase on linux-next.
2. Initialize net_iov->pp = NULL when allocating net_iov in
net_devmem_bind_dmabuf() and io_zcrx_create_area().
3. Use ->pp for net_iov to identify if it's pp rather than
always consider net_iov as pp.
4. Add Suggested-by: David Hildenbrand <david@...hat.com>.
Byungchul Park (2):
page_pool: check if nmdesc->pp is !NULL to confirm its usage as pp for
net_iov
mm: introduce a new page type for page pool in page type
.../net/ethernet/mellanox/mlx5/core/en/xdp.c | 2 +-
include/linux/mm.h | 27 +++----------------
include/linux/page-flags.h | 6 +++++
include/net/netmem.h | 2 +-
mm/page_alloc.c | 8 +++---
net/core/devmem.c | 1 +
net/core/netmem_priv.h | 25 +++++++++--------
net/core/page_pool.c | 14 ++++++++--
8 files changed, 40 insertions(+), 45 deletions(-)
base-commit: efb26a23ed5f5dc3554886ab398f559dcb1de96b
--
2.17.1
Powered by blists - more mailing lists