ANDROID: dm-crypt: run in a WQ_HIGHPRI workqueue
authorTim Murray <timmurray@google.com>
Wed, 20 Jan 2016 00:33:27 +0000 (16:33 -0800)
committerAmit Pundir <amit.pundir@linaro.org>
Thu, 7 Apr 2016 11:19:58 +0000 (16:49 +0530)
commite9eb108900c60b1696426cb6d155cea9905b403f
treef222126d6b1fd22ab8e1640bfa7444e476df29a7
parent11b55d507888b8f81679aa09636d339d42b09ac4
ANDROID: dm-crypt: run in a WQ_HIGHPRI workqueue

(cherry pick from commit ad3ac5180979e5dd1f84e4a807f76fb9fb19f814)

Running dm-crypt in a standard workqueue results in IO competing for CPU
time with standard user apps, which can lead to pipeline bubbles and
seriously degraded performance. Move to a WQ_HIGHPRI workqueue to
protect against that.

Signed-off-by: Tim Murray <timmurray@google.com>
Bug: 25392275
Change-Id: I2828587c754a7c2cafdd78b3323b9896cb8cd4e7
drivers/md/dm-crypt.c