Skip to content
Commit 32d1d705 authored by Josef Bacik's avatar Josef Bacik Committed by Greg Kroah-Hartman
Browse files

rq-qos: set ourself TASK_UNINTERRUPTIBLE after we schedule



[ Upstream commit d14a9b38 ]

In case we get a spurious wakeup we need to make sure to re-set
ourselves to TASK_UNINTERRUPTIBLE so we don't busy wait.

Reviewed-by: default avatarOleg Nesterov <oleg@redhat.com>
Signed-off-by: default avatarJosef Bacik <josef@toxicpanda.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 2b6c7c7c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment