zram-add-might_sleep-to-zcomp-api.patch removed from -mm tree
The quilt patch titled
Subject: zram: add might_sleep to zcomp API
has been removed from the -mm tree. Its filename was
zram-add-might_sleep-to-zcomp-api.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: Sergey Senozhatsky <[email protected]>
Subject: zram: add might_sleep to zcomp API
Date: Mon, 3 Mar 2025 11:03:28 +0900
Explicitly state that zcomp compress/decompress must be called from non-atomic context.
Signed-off-by Sergey Senozhatsky <[email protected]>
Cc Hillf Danton <[email protected]>
Cc Kairui Song <[email protected]>
Cc Minchan Kim <[email protected]>
Cc Sebastian Andrzej Siewior <[email protected]>
Cc Yosry Ahmed <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
drivers/block/zram/zcomp.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/block/zram/zcomp.c renamed from drivers/block/zram/zcomp.c~zram-add-might_sleep-to-zcomp-api +2 -0
@@ -146,6 +146,7 @@ int zcomp_compress(struct zcomp *comp, s };int ret; +might_sleep (); ret = comp->ops->compress (comp->params, &zstrm->ctx, &req);if (!ret) *dst_len = req.dst_len;
@@ -162,6 +163,7 @@ int zcomp_decompress(struct zcomp *comp, .dst_len = PAGE_SIZE, }; +might_sleep ();return comp->ops->decompress (comp->params, &zstrm->ctx, &req); }
_
Patches currently in -mm which might be from [email protected] are