crypto: mark crypto workqueues CPU_INTENSIVE
authorTejun Heo <tj@kernel.org>
Tue, 4 Jan 2011 04:38:44 +0000 (15:38 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 4 Jan 2011 12:34:08 +0000 (23:34 +1100)
commitc73b7d02da9bfb4fadafc118a24ee868708839b6
tree8f3a33015c5f81443c34afd528882fe2f77ebe31
parent41f2977d40798ce45f4da7a1291039ffbe9e1dbc
crypto: mark crypto workqueues CPU_INTENSIVE

kcrypto_wq and pcrypt->wq's are used to run ciphers and may consume
considerable amount of CPU cycles.  Mark both as CPU_INTENSIVE so that
they don't block other work items.

As the workqueues are primarily used to burn CPU cycles, concurrency
levels shouldn't matter much and are left at 1.  A higher value may be
beneficial and needs investigation.

Signed-off-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/crypto_wq.c
crypto/pcrypt.c