Jordan Crouse <[EMAIL PROTECTED]> wrote:
>
> Is there any way to differentiate if a crypto API call was made in an
> atomic context or not?  The problem here, is that I only have one engine,
> so I need to protect it from multiple processes accessing it at the 
> same time.  I can get rid of the sleep in an atomic context, but we expect
> to have both atomic and process contexts heavily accessing the engine at
> the same time, we really run the risk of having the atomic contexts fail 
> more often then they should due to a process holding the mutex.

Are there SMP Geode machines?

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
-
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to