[PATCH] crypto: allow to assign gfp_t for __crypto_alloc_tfm

From
Theodore Ts'o <tytso@mit.edu>
Date
2015-05-19 14:39:37
Also in
linux-crypto, linux-ext4, linux-f2fs-devel, lkml
Reply to
Herbert Xu, 2015-05-19
On Tue, May 19, 2015 at 10:27:55PM +0800, Herbert Xu wrote:
On Tue, May 19, 2015 at 10:14:30AM -0400, Theodore Ts'o wrote:
quoted
There can be multiple reads going on in parallel, so we're currently
creating tfm's as necessary.  In fact one of the things that we've
A single tfm is fully-reentrant (as long as you don't change the
key).  So multiple reads/writes on a single file can all use one
tfm with no locking at all.
Cool, we didn't realize this was the case.  Excellent, this makes life
much simpler for us!  :-)

Thanks,

					- Ted
Thread (20 messages) 20 messages, 5 authors, last reply 2015-05-20
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help