diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2024-08-09 18:33:28 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2024-08-09 18:33:28 +0300 |
commit | 2124d84db293ba164059077944e6b429ba530495 (patch) | |
tree | 246b5fe724cdf0009f85fcb86bd03f2bffe14c1f /include | |
parent | ee9a43b7cfe2d8a3520335fea7d8ce71b8cabd9d (diff) | |
download | linux-2124d84db293ba164059077944e6b429ba530495.tar.xz |
module: make waiting for a concurrent module loader interruptible
The recursive aes-arm-bs module load situation reported by Russell King
is getting fixed in the crypto layer, but this in the meantime fixes the
"recursive load hangs forever" by just making the waiting for the first
module load be interruptible.
This should now match the old behavior before commit 9b9879fc0327
("modules: catch concurrent module loads, treat them as idempotent"),
which used the different "wait for module to be ready" code in
module_patient_check_exists().
End result: a recursive module load will still block, but now a signal
will interrupt it and fail the second module load, at which point the
first module will successfully complete loading.
Fixes: 9b9879fc0327 ("modules: catch concurrent module loads, treat them as idempotent")
Cc: Russell King <linux@armlinux.org.uk>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions