Re: Gut crypto_yeild() when CONFIG_PREEMPT is defined?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jul 14, 2004 at 03:17:25PM -0700, Adam J. Richter wrote:
> 	I don't understand the benefit of the change you have
> described.  The benefit of the change I described is that it would
> eliminate some instructions, making encryption and decryption run
> a bit faster in the CONFIG_PREEMPT case.

The BKL must be dropped voluntarily, e.g. via schedule() or
unlock_kernel(), to allow preemption when the BKL is held.


-- wli

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux