The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* CryptoAPI: schedual while atomic
@ 2004-08-30 13:24 Jean-Luc Cooke
  2004-08-30 14:42 ` James Morris
  0 siblings, 1 reply; 4+ messages in thread
From: Jean-Luc Cooke @ 2004-08-30 13:24 UTC (permalink / raw)
  To: linux-kernel

While I was playing with using the CryptoAPI in /dev/random for my own
purposes, I noticed that I was getting quite a few "schedual while atomic!"
console messages.

Talking with Michal Ludvig, I seem to think that a "!is_atomic()" check
inside crypto_yield() or passing a flag during crypto_alloc_tfm() would make
a lot of sense.

This may be more directed at James Morris, but here it goes:

Can we have some logic to either check for or turn off crypto_yield()'s in
crypto/internal.h's crypto_yield() ?

Cheers,

JLC

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-08-30 15:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-30 13:24 CryptoAPI: schedual while atomic Jean-Luc Cooke
2004-08-30 14:42 ` James Morris
2004-08-30 13:53   ` Jean-Luc Cooke
2004-08-30 15:06     ` James Morris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox