Thread (7 messages) flat view 7 messages, 3 authors, 2008-07-17

Re: [PATCH 4/6] crypto: talitos - fix GFP flag usage

From: Kim Phillips <hidden>
Date: 2008-07-17 15:28:32
Also in: linux-crypto

On Thu, 17 Jul 2008 07:26:14 -0500
Kumar Gala [off-list ref] wrote:
On Jul 17, 2008, at 7:17 AM, Herbert Xu wrote:
quoted
On Wed, Jul 16, 2008 at 06:33:45PM -0500, Kumar Gala wrote:
quoted
On Jul 16, 2008, at 6:22 PM, Kim Phillips wrote:
quoted
use GFP_ATOMIC when necessary; use atomic_t when allocating
submit_count.
why?
You mean why are atomics required? Yes that is a good question.
Yep. the commit message isn't explaining why, just what :)
In honouring requests that don't have the CRYPTO_TFM_REQ_MAY_SLEEP set,
afaict, it's the standard non-wait variant GFP that drivers use (see
the ixp4xx driver for e.g.).

Kim
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help