Re: GSoc2010 project suggestion: swcryptX

Thor Lancelot Simon <[email protected]> Tue, 23 Feb 2010 22:08:23 -0500
Newsgroups gmane.os.netbsd.devel.crypto,gmane.os.netbsd.current
Message-ID <[email protected]>
On Tue, Feb 23, 2010 at 09:57:16PM -0500, Thor Lancelot Simon wrote:
> where yielding like that loses than where it wins.  In the hardware-crypto
> case, you win because the special-purpose processor can't _do_ anything else
> so you might as well let it and the general-purpose processor work at the
> same time.

Ow, ow, ow -- except when you don't!  I've just discovered that some of the
crypto drivers we inherited from OpenBSD (glxsb, at least) busy-wait for
request completion.

Thor