linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] mm: remove unused alloc_pages_bulk_list()
@ 2022-12-17  0:15 Lorenzo Stoakes
  2022-12-17  4:56 ` Matthew Wilcox
  0 siblings, 1 reply; 9+ messages in thread
From: Lorenzo Stoakes @ 2022-12-17  0:15 UTC (permalink / raw)
  To: linux-mm, Andrew Morton, linux-kernel
  Cc: Matthew Wilcox, Andrey Konovalov, Ingo Molnar, Marco Elver,
	Michal Hocko, Lorenzo Stoakes

This function is not referenced anywhere else in the kernel, remove it.

Signed-off-by: Lorenzo Stoakes <lstoakes@gmail.com>
---
 include/linux/gfp.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/include/linux/gfp.h b/include/linux/gfp.h
index 65a78773dcca..67c5164f4758 100644
--- a/include/linux/gfp.h
+++ b/include/linux/gfp.h
@@ -188,13 +188,6 @@ unsigned long alloc_pages_bulk_array_mempolicy(gfp_t gfp,
 				unsigned long nr_pages,
 				struct page **page_array);
 
-/* Bulk allocate order-0 pages */
-static inline unsigned long
-alloc_pages_bulk_list(gfp_t gfp, unsigned long nr_pages, struct list_head *list)
-{
-	return __alloc_pages_bulk(gfp, numa_mem_id(), NULL, nr_pages, list, NULL);
-}
-
 static inline unsigned long
 alloc_pages_bulk_array(gfp_t gfp, unsigned long nr_pages, struct page **page_array)
 {
-- 
2.38.1



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

end of thread, other threads:[~2023-05-31 15:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-17  0:15 [PATCH] mm: remove unused alloc_pages_bulk_list() Lorenzo Stoakes
2022-12-17  4:56 ` Matthew Wilcox
2022-12-17  8:34   ` Lorenzo Stoakes
2022-12-19 10:07     ` Mel Gorman
2022-12-20 17:56       ` Yang Shi
2022-12-22 12:44         ` Mel Gorman
2023-05-31 15:24       ` Lorenzo Stoakes
2022-12-22 10:03   ` Christoph Hellwig
2022-12-22 12:38     ` Lorenzo Stoakes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox