linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC mm v4 0/2] mm, page_pool: introduce a new page type for page pool in page type
@ 2025-10-23  7:44 Byungchul Park
  2025-10-23  7:44 ` [RFC mm v4 1/2] page_pool: check if nmdesc->pp is !NULL to confirm its usage as pp for net_iov Byungchul Park
  2025-10-23  7:44 ` [RFC mm v4 2/2] mm: introduce a new page type for page pool in page type Byungchul Park
  0 siblings, 2 replies; 10+ messages in thread
From: Byungchul Park @ 2025-10-23  7:44 UTC (permalink / raw)
  To: linux-mm, netdev
  Cc: linux-kernel, kernel_team, harry.yoo, ast, daniel, davem, kuba,
	hawk, john.fastabend, sdf, saeedm, leon, tariqt, mbloch,
	andrew+netdev, edumazet, pabeni, akpm, david, lorenzo.stoakes,
	Liam.Howlett, vbabka, rppt, surenb, mhocko, horms, jackmanb,
	hannes, ziy, ilias.apalodimas, willy, brauner, kas, yuzhao,
	usamaarif642, baolin.wang, almasrymina, toke, asml.silence, bpf,
	linux-rdma, sfr, dw, ap420073, dtatulea

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@redhat.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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2025-10-29  1:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-10-23  7:44 [RFC mm v4 0/2] mm, page_pool: introduce a new page type for page pool in page type Byungchul Park
2025-10-23  7:44 ` [RFC mm v4 1/2] page_pool: check if nmdesc->pp is !NULL to confirm its usage as pp for net_iov Byungchul Park
2025-10-28  1:25   ` Mina Almasry
2025-10-28  2:24     ` Byungchul Park
2025-10-29  1:33   ` Jakub Kicinski
2025-10-29  1:56     ` Byungchul Park
2025-10-23  7:44 ` [RFC mm v4 2/2] mm: introduce a new page type for page pool in page type Byungchul Park
2025-10-28  1:28   ` Mina Almasry
2025-10-28  1:45     ` Zi Yan
2025-10-28 16:12       ` Mina Almasry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).