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)
committerMark Salyzyn <salyzyn@google.com>
Tue, 8 Mar 2016 20:42:29 +0000 (20:42 +0000)
commit46050a93ff9e13fddcdcaff35e2b0b863b3af69b
tree8d379b14e3b33bc343bae1907e0ea0f9be178ac3
parent8d3a6c1538fb021448c4f6381f6191061f947ba1
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: I589149a31c7b5d322fe2ed5b2476b1f6e3d5ee6f
drivers/md/dm-crypt.c