[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3604c0ceeb0942b25ef645f4b74154c0122149f4.1737754625.git.luizcap@redhat.com>
Date: Fri, 24 Jan 2025 16:37:54 -0500
From: Luiz Capitulino <luizcap@...hat.com>
To: linux-kernel@...r.kernel.org,
linux-mm@...ck.org,
david@...hat.com,
yuzhao@...gle.com
Cc: akpm@...ux-foundation.org,
hannes@...xchg.org,
muchun.song@...ux.dev,
lcapitulino@...il.com,
luizcap@...hat.com
Subject: [RFC 4/4] mm: page_ext: drop page_ext_next()
Previous commits converted users to the new page extension iteration API.
TODO: We can use this implementation for flatmem.
Fixes: e98337d11bbd ("mm/contig_alloc: support __GFP_COMP")
Signed-off-by: Luiz Capitulino <luizcap@...hat.com>
---
include/linux/page_ext.h | 7 -------
1 file changed, 7 deletions(-)
diff --git a/include/linux/page_ext.h b/include/linux/page_ext.h
index df904544d3fac..4bbc6638fe14f 100644
--- a/include/linux/page_ext.h
+++ b/include/linux/page_ext.h
@@ -86,13 +86,6 @@ static inline void *page_ext_data(struct page_ext *page_ext,
return (void *)(page_ext) + ops->offset;
}
-static inline struct page_ext *page_ext_next(struct page_ext *curr)
-{
- void *next = curr;
- next += page_ext_size;
- return next;
-}
-
struct page_ext_iter {
unsigned long pfn;
struct page_ext *page_ext;
--
2.47.1
Powered by blists - more mailing lists