Thread (13 messages) flat view 13 messages, 6 authors, 2025-08-14

Re: [PATCH linux-next v3] mm, page_pool: introduce a new page type for page pool in page type

From: Jakub Kicinski <kuba@kernel.org>
Date: 2025-08-13 14:52:14
Also in: bpf, linux-mm, linux-rdma, lkml

On Wed, 13 Aug 2025 12:18:56 +0100 Pavel Begunkov wrote:
It should go to net, there will be enough of conflicts otherwise.
mm maintainers, do you like it as a shared branch or can it just
go through the net tree?
Looks like this is 100% in mm, and the work is not urgent at all.
So I'm happy for Andrew to take this, and dependent patches (if any)
can come in the next cycle.
quoted hunk ↗ jump to hunk
@@ -1379,9 +1376,11 @@ __always_inline bool free_pages_prepare(struct page *page,
  		mod_mthp_stat(order, MTHP_STAT_NR_ANON, -1);
  		folio->mapping = NULL;
  	}
-	if (unlikely(page_has_type(page)))
+	if (unlikely(page_has_type(page))) {
+		WARN_ON_ONCE(PageNet_pp(page));
I guess my ask to add a comment here got ignored?
  		/* Reset the page_type (which overlays _mapcount) */
  		page->page_type = UINT_MAX;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help