[folded-merged] zsmalloc-fix-races-between-modifications-of-fullness-and-isolated-v2.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The quilt patch titled
     Subject: zsmalloc-fix-races-between-modifications-of-fullness-and-isolated-v2
has been removed from the -mm tree.  Its filename was
     zsmalloc-fix-races-between-modifications-of-fullness-and-isolated-v2.patch

This patch was dropped because it was folded into zsmalloc-fix-races-between-modifications-of-fullness-and-isolated.patch

------------------------------------------------------
From: Andrew Yang <andrew.yang@xxxxxxxxxxxx>
Subject: zsmalloc-fix-races-between-modifications-of-fullness-and-isolated-v2
Date: Thu, 27 Jul 2023 14:29:07 +0800

move comment

Link: https://lkml.kernel.org/r/20230727062910.6337-1-andrew.yang@xxxxxxxxxxxx
Signed-off-by: Andrew Yang <andrew.yang@xxxxxxxxxxxx>
Fixes: c4549b871102 ("zsmalloc: remove zspage isolation for migration")
Cc: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>
Cc: Matthias Brugger <matthias.bgg@xxxxxxxxx>
Cc: Minchan Kim <minchan@xxxxxxxxxx>
Cc: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
Cc: Sergey Senozhatsky <senozhatsky@xxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 mm/zsmalloc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/mm/zsmalloc.c~zsmalloc-fix-races-between-modifications-of-fullness-and-isolated-v2
+++ a/mm/zsmalloc.c
@@ -1877,11 +1877,11 @@ static int zs_page_migrate(struct page *
 	kunmap_atomic(s_addr);
 
 	replace_sub_page(class, zspage, newpage, page);
+	dec_zspage_isolation(zspage);
 	/*
 	 * Since we complete the data copy and set up new zspage structure,
 	 * it's okay to release the pool's lock.
 	 */
-	dec_zspage_isolation(zspage);
 	spin_unlock(&pool->lock);
 	migrate_write_unlock(zspage);
 
_

Patches currently in -mm which might be from andrew.yang@xxxxxxxxxxxx are

zsmalloc-fix-races-between-modifications-of-fullness-and-isolated.patch
fs-drop_caches-draining-pages-before-dropping-caches.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux