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

Byungchul Park posted 2 patches 1 month, 2 weeks ago
.../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 v5 0/2] mm, page_pool: introduce a new page type for page pool in page type
Posted by Byungchul Park 1 month, 2 weeks ago
This set is supposed to go via the mm tree, but it currently also
depends on patches in the net-next tree.  For now, this set is based
on linux-next, but will apply cleanly (or get rebased) after mm tree was
rebased.

Changes from v4:
	1. Rebase on the latest version of linux-next as of Nov 3.
	2. Improve commit messages. (feedbacked by Jakub and Mina)
	3. Add Acked-by and Reviewed-by.  Thanks to Mina.

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 nmdesc->pp to see its usage as page pool for net_iov
    not page-backed
  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: e1f5bb196f0b0eee197e06d361f8ac5f091c2963
-- 
2.17.1