Skip to contentSkip to conversation

mm-swap_state-use-folio_alloc_mpol-in-__read_swap_cache_async.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message Jul 12, 2024

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm: swap_state: use folio_alloc_mpol() in __read_swap_cache_async()
has been removed from the -mm tree. Its filename was
mm-swap_state-use-folio_alloc_mpol-in-__read_swap_cache_async.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: Kefeng Wang <[email protected]>
Subject: mm: swap_state: use folio_alloc_mpol() in __read_swap_cache_async()
Date: Tue, 9 Jul 2024 18:55:08 +0800

Convert to use folio_alloc_mpol() helper() in __read_swap_cache_async().

---

 mm/swap_state.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
mm/swap_state.c renamed from mm/swap_state.c~mm-swap_state-use-folio_alloc_mpol-in-__read_swap_cache_async +1 -2
@@ -470,8 +470,7 @@ struct folio *__read_swap_cache_async(sw
 		 * before marking swap_map SWAP_HAS_CACHE, when -EEXIST will
 		 * cause any racers to loop around until we add it to cache.
 		 */
-		folio = (struct folio *)alloc_pages_mpol(gfp_mask, 0,
-						mpol, ilx, numa_node_id());
+		folio = folio_alloc_mpol(gfp_mask, 0, mpol, ilx, numa_node_id());
 		if (!folio)
                         goto fail_put_swap;
 

_

Patches currently in -mm which might be from [email protected] are