Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1690967

Re: fscrypt request_module() deadlock

From Herbert Xu <herbert@gondor.apana.org.au>
Newsgroups linux.kernel
Subject Re: fscrypt request_module() deadlock
Date 2017-07-19 07:00 +0200
Message-ID <u4Pfz-3zj-3@gated-at.bofh.it> (permalink)
References <tY61P-7aE-5@gated-at.bofh.it> <u4u1s-7f6-5@gated-at.bofh.it> <u4JWy-k5-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jul 18, 2017 at 04:17:47PM -0700, Eric Biggers wrote:
> 
> While that should solve the problem, isn't it possible to actually have a module
> which supplies an algorithm like "xts(aes)"?  In that case it wouldn't be
> desirable to instantiate the generic "xts" template.

Well, in the case where only xts and aes are built into the kernel
I think we have to use that instead of going to request_module as
otherwise we cannot avoid the dead-lock that is the subject of this
discussion.

If you want accelerated xts(aes) to work while building generic xts
and aes into the kernel then you should also build the accelerated
xts(aes) into the kernel (or load the manually once modules can be
loaded).

Cheers,
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Re: fscrypt request_module() deadlock Eric Biggers <ebiggers3@gmail.com> - 2017-07-19 01:20 +0200
  Re: fscrypt request_module() deadlock Herbert Xu <herbert@gondor.apana.org.au> - 2017-07-19 07:00 +0200

csiph-web