On Fri, Jun 22, 2007 at 02:29:48PM +0200, Sebastian Siewior wrote:
>
> >What will prevent crypto user from filling that queue with crypto
> >requests more and more when hardware is not capable to work with such
> >rate?
> 
> Nothing, the hw signalizes with -EBUSY such a state and the crypto user
> has to slow down.
> If the crypto user continues such a behavior, the system will go OOM
> (this is atleast my understanding).

Yes, we're assuming that each tfm will only use MAY_BACKLOG
once so we don't actually need to allocate memory for it at
request time.

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