From: Herbert Xu on 24 May 2010 07:30 On Mon, May 24, 2010 at 12:35:24PM +0300, Alexander Shishkin wrote: > Don't compile in and don't schedule cryptomanager's tests when > CONFIG_CRYPTO_TESTS is not set. This saves quite some time during > kernel initialization. You're disabling the self-testing infrastructure. This is not the same thing as the tcrypt module. Is this for fast booting? Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert(a)gondor.apana.org.au> 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-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Alexander Shishkin on 24 May 2010 08:30 On Mon, May 24, 2010 at 09:27:26 +1000, Herbert Xu wrote: > On Mon, May 24, 2010 at 12:35:24PM +0300, Alexander Shishkin wrote: > > Don't compile in and don't schedule cryptomanager's tests when > > CONFIG_CRYPTO_TESTS is not set. This saves quite some time during > > kernel initialization. > > You're disabling the self-testing infrastructure. This is not > the same thing as the tcrypt module. It is my intention to disable these tests since in my running them at every boot doesn't add any value. I thought about adding a separate Kconfig option for that, too. I want to make sure it's a sensible thing to do. > Is this for fast booting? Yes, it saves ~180 miliseconds for me at prng_mod_init(), for example. Regards, -- Alex -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
From: Herbert Xu on 25 May 2010 20:50 On Mon, May 24, 2010 at 03:20:50PM +0300, Alexander Shishkin wrote: > > Yes, it saves ~180 miliseconds for me at prng_mod_init(), for example. I see. In that case please introduce a new Kconfig option for this that defaults to testing being enabled. Thanks! -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert(a)gondor.apana.org.au> 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-kernel" in the body of a message to majordomo(a)vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|
Pages: 1 Prev: hpet timers gone? Next: [PATCH v3 3/3] dm: lookup devices by path with name_to_dev_t |