[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150519143904.GA25684@thunk.org>
Date: Tue, 19 May 2015 10:39:04 -0400
From: Theodore Ts'o <tytso@....edu>
To: Herbert Xu <herbert@...dor.apana.org.au>
Cc: Jaegeuk Kim <jaegeuk@...nel.org>, davem@...emloft.net,
linux-crypto@...r.kernel.org, linux-ext4@...r.kernel.org,
linux-kernel@...r.kernel.org,
linux-f2fs-devel@...ts.sourceforge.net, ecryptfs@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
Steffen Klassert <steffen.klassert@...unet.com>,
mhalcrow@...gle.com
Subject: Re: [PATCH] crypto: allow to assign gfp_t for __crypto_alloc_tfm
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:
> >
> > 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
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists