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 23:45:34 +0000 (15:45 -0800)
commitdc874623048d1ffae1ba50188f623dbe7551c124
treeb62d169ee1a1fc9760602f82e1bcde0d787fc7e1
parent9f5ef4b3ad75cb7bda0967b3e37eca2d0b634a02
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