All of lore.kernel.org
 help / color / mirror / Atom feed
* [folded-merged] zsmalloc-fix-races-between-modifications-of-fullness-and-isolated-v2.patch removed from -mm tree
@ 2023-08-04 19:47 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2023-08-04 19:47 UTC (permalink / raw)
  To: mm-commits, senozhatsky, minchan, matthias.bgg, bigeasy,
	angelogioacchino.delregno, andrew.yang, akpm


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@mediatek.com>
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@mediatek.com
Signed-off-by: Andrew Yang <andrew.yang@mediatek.com>
Fixes: c4549b871102 ("zsmalloc: remove zspage isolation for migration")
Cc: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 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@mediatek.com are

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-08-04 19:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-08-04 19:47 [folded-merged] zsmalloc-fix-races-between-modifications-of-fullness-and-isolated-v2.patch removed from -mm tree Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.