Skip to contentSkip to conversation

mm-z3fold-fix-sheduling-while-atomic.patch removed from -mm tree

merged mm-stable Andrew Morton 1 participant 1 message May 27, 2022

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: mm/z3fold: fix sheduling while atomic
has been removed from the -mm tree. Its filename was
mm-z3fold-fix-sheduling-while-atomic.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: Miaohe Lin <[email protected]>
Subject: mm/z3fold: fix sheduling while atomic
Date: Fri, 29 Apr 2022 14:40:43 +0800

Patch series "A few fixup patches for z3fold".

This series contains a few fixup patches to fix sheduling while atomic, fix possible null pointer dereferencing, fix various race conditions and so on. More details can be found in the respective changelogs.

This patch (of 9):

z3fold's page_lock is always held when calling alloc_slots. So gfp should be GFP_ATOMIC to avoid "scheduling while atomic" bug.

---

 mm/z3fold.c |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
mm/z3fold.c renamed from mm/z3fold.c~mm-z3fold-fix-sheduling-while-atomic +1 -2
@@ -941,8 +941,7 @@ lookup:
 	}
 
 	if (zhdr && !zhdr->slots)
-		zhdr->slots = alloc_slots(pool,
-					can_sleep ? GFP_NOIO : GFP_ATOMIC);
+		zhdr->slots = alloc_slots(pool, GFP_ATOMIC);
 	return zhdr;
 }
 

_

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