Skip to contentSkip to conversation

mm-z3fold-use-release_z3fold_page_locked-to-release-locked-z3fold-page.patch removed from -mm tree

merged [email protected] 1 participant 1 message Jul 6, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: mm/z3fold: use release_z3fold_page_locked() to release locked z3fold page
has been removed from the -mm tree. Its filename was
mm-z3fold-use-release_z3fold_page_locked-to-release-locked-z3fold-page.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Miaohe Lin <[email protected]>
Subject: mm/z3fold: use release_z3fold_page_locked() to release locked z3fold page

We should use release_z3fold_page_locked() to release z3fold page when it's locked, although it looks harmless to use release_z3fold_page() now.

Fixes dcf5aedb24f8 ("z3fold: stricter locking and more careful reclaim")
Cc Hillf Danton <[email protected]>

---

 mm/z3fold.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mm/z3fold.c renamed from mm/z3fold.c~mm-z3fold-use-release_z3fold_page_locked-to-release-locked-z3fold-page +1 -1
@@ -1370,7 +1370,7 @@ static int z3fold_reclaim_page(struct z3
 			if (zhdr->foreign_handles ||
 			    test_and_set_bit(PAGE_CLAIMED, &page->private)) {
 				if (kref_put(&zhdr->refcount,
-						release_z3fold_page))
+						release_z3fold_page_locked))
 					atomic64_dec(&pool->pages_nr);
 				else
 					z3fold_page_unlock(zhdr);

_

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

mm-zsmallocc-combine-two-atomic-ops-in-zs_pool_dec_isolated.patch