* [folded-merged] zram-do-not-lookup-algorithm-in-backends-table-v2.patch removed from -mm tree
@ 2022-07-04 0:04 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-07-04 0:04 UTC (permalink / raw)
To: mm-commits, ngupta, minchan, senozhatsky, akpm
The quilt patch titled
Subject: zram: do not lookup algorithm in backends table
has been removed from the -mm tree. Its filename was
zram-do-not-lookup-algorithm-in-backends-table-v2.patch
This patch was dropped because it was folded into zram-do-not-lookup-algorithm-in-backends-table.patch
------------------------------------------------------
From: Sergey Senozhatsky <senozhatsky@chromium.org>
Subject: zram: do not lookup algorithm in backends table
Date: Fri, 24 Jun 2022 15:06:06 +0900
add comment
Link: https://lkml.kernel.org/r/20220624060606.1014474-1-senozhatsky@chromium.org
Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/block/zram/zcomp.c | 5 +++++
1 file changed, 5 insertions(+)
--- a/drivers/block/zram/zcomp.c~zram-do-not-lookup-algorithm-in-backends-table-v2
+++ a/drivers/block/zram/zcomp.c
@@ -211,6 +211,11 @@ struct zcomp *zcomp_create(const char *c
struct zcomp *comp;
int error;
+ /*
+ * Crypto API will execute /sbin/modprobe if the compression module
+ * is not loaded yet. We must do it here, otherwise we are about to
+ * call /sbin/modprobe under CPU hot-plug lock.
+ */
if (!zcomp_available_algorithm(compress))
return ERR_PTR(-EINVAL);
_
Patches currently in -mm which might be from senozhatsky@chromium.org are
zram-do-not-lookup-algorithm-in-backends-table.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-04 0:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-04 0:04 [folded-merged] zram-do-not-lookup-algorithm-in-backends-table-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.