25c38d3fb9
Use dedicated workqueue for crypto subsystem A dedicated workqueue named kcrypto_wq is created to be used by crypto subsystem. The system shared keventd_wq is not suitable for encryption/decryption, because of potential starvation problem. Signed-off-by: Huang Ying <ying.huang@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
8 lines
122 B
C
8 lines
122 B
C
#ifndef CRYPTO_WQ_H
|
|
#define CRYPTO_WQ_H
|
|
|
|
#include <linux/workqueue.h>
|
|
|
|
extern struct workqueue_struct *kcrypto_wq;
|
|
#endif
|