[RFC mm v4 0/2] mm, page_pool: introduce a new page type for page pool in page type

Byungchul Park posted 2 patches 3 months, 2 weeks ago
There is a newer version of this series
.../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(-)
[RFC mm v4 0/2] mm, page_pool: introduce a new page type for page pool in page type
Posted by Byungchul Park 3 months, 2 weeks ago
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