mm-balloon_compaction-provide-single-balloon_page_insert-and-balloon_mapping_gfp_mask.patch removed from -mm tree
The quilt patch titled
Subject: mm/balloon_compaction: provide single balloon_page_insert() and balloon_mapping_gfp_mask()
has been removed from the -mm tree. Its filename was
mm-balloon_compaction-provide-single-balloon_page_insert-and-balloon_mapping_gfp_mask.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: David Hildenbrand <[email protected]>
Subject: mm/balloon_compaction: provide single balloon_page_insert() and balloon_mapping_gfp_mask()
Date: Fri, 4 Jul 2025 12:25:23 +0200
Let's just special-case based on IS_ENABLED(CONFIG_BALLOON_COMPACTION) like we did for balloon_page_finalize().
---
include/linux/balloon_compaction.h | 42 +++++++++------------------ 1 file changed, 15 insertions(+), 27 deletions(-)
include/linux/balloon_compaction.h renamed from include/linux/balloon_compaction.h~mm-balloon_compaction-provide-single-balloon_page_insert-and-balloon_mapping_gfp_mask +15 -27
@@ -77,6 +77,15 @@ static inline void balloon_devinfo_init(#ifdef CONFIG_BALLOON_COMPACTION extern const struct movable_operations balloon_mops; +/* +* balloon_page_device - get the b_dev_info descriptor for the balloon device +* that enqueues the given page. +*/ +static inline struct balloon_dev_info *balloon_page_device (struct page *page) +{ +return (struct balloon_dev_info *)page_private (page); +} +#endif /* CONFIG_BALLOON_COMPACTION */ /* * balloon_page_insert - insert a page into the balloon's page list and make
@@ -91,41 +100,20 @@ static inline void balloon_page_insert(s struct page *page) {__SetPageOffline (page); -SetPageMovableOps (page); -set_page_private (page, (unsigned long )balloon); -list_add (&page->lru, &balloon->pages); -} - -/* -* balloon_page_device - get the b_dev_info descriptor for the balloon device -* that enqueues the given page. -*/ -static inline struct balloon_dev_info *balloon_page_device (struct page *page) -{ -return (struct balloon_dev_info *)page_private (page); -} - -static inline gfp_t balloon_mapping_gfp_mask (void ) -{ -return GFP_HIGHUSER_MOVABLE ; -} - -#else /* !CONFIG_BALLOON_COMPACTION */ - -static inline void balloon_page_insert (struct balloon_dev_info *balloon, -struct page *page) -{ -__SetPageOffline (page); +if (IS_ENABLED (CONFIG_BALLOON_COMPACTION )) { +SetPageMovableOps (page); +set_page_private (page, (unsigned long )balloon); + }list_add (&page->lru, &balloon->pages); }static inline gfp_t balloon_mapping_gfp_mask (void ) { +if (IS_ENABLED (CONFIG_BALLOON_COMPACTION )) +return GFP_HIGHUSER_MOVABLE ;return GFP_HIGHUSER ; } -#endif /* CONFIG_BALLOON_COMPACTION */ -/* * balloon_page_finalize - prepare a balloon page that was removed from the * balloon list for release to the page allocator
_
Patches currently in -mm which might be from [email protected] are
mm-convert-fpb_ignore_-into-fpb_respect_.patch mm-smaller-folio_pte_batch-improvements.patch mm-split-folio_pte_batch-into-folio_pte_batch-and-folio_pte_batch_flags.patch mm-remove-boolean-output-parameters-from-folio_pte_batch_ext.patch mm-memory-introduce-is_huge_zero_pfn-and-use-it-in-vm_normal_page_pmd.patch