Commit c73b7d02da9bfb4fadafc118a24ee868708839b6
Committed by
Herbert Xu
1 parent
41f2977d40
Exists in
master
and in
20 other branches
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>
Showing 2 changed files with 4 additions and 2 deletions Side-by-side Diff
crypto/crypto_wq.c
crypto/pcrypt.c