]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: scomp - Disable BH when taking per-cpu spin lock
authorHerbert Xu <herbert@gondor.apana.org.au>
Sun, 9 Mar 2025 02:43:19 +0000 (10:43 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 15 Mar 2025 08:21:23 +0000 (16:21 +0800)
commitcff12830e2cb2044067167f95a537074240347b7
tree9e9dfcc7738f1f4bbf58f8c64aa5f59dc4061cd3
parent3d72ad46a23ae42450d1f475bb472151dede5b93
crypto: scomp - Disable BH when taking per-cpu spin lock

Disable BH when taking per-cpu spin locks.  This isn't an issue
right now because the only user zswap calls scomp from process
context.  However, if scomp is called from softirq context the
spin lock may dead-lock.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/scompress.c