crypto: engine - Reduce default RT priority
authorPeter Zijlstra <peterz@infradead.org>
Thu, 1 Aug 2019 11:13:51 +0000 (13:13 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 9 Aug 2019 05:11:52 +0000 (15:11 +1000)
commitd13dfae3cedd60072d448b7e382c86143a29cedc
tree14e3a5ed4d13d857e7f2fe2f28466a00c5289384
parent0435d47e2627b76b6dfb59e2e95ffed7232bd0ed
crypto: engine - Reduce default RT priority

The crypto engine initializes its kworker thread to FIFO-99 (when
requesting RT priority), reduce this to FIFO-50.

FIFO-99 is the very highest priority available to SCHED_FIFO and
it not a suitable default; it would indicate the crypto work is the
most important work on the machine.

Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: linux-crypto@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Cc: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/crypto_engine.c