]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
SUNRPC: rpc_wake_up() should wake up tasks in the correct order
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 22 Oct 2020 21:40:33 +0000 (17:40 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Dec 2020 10:51:15 +0000 (11:51 +0100)
commit04e9c169810c0a339083bf71a06fefb4ee817eda
tree13a32d665c234d522d8c4495d6a88e4da8cb8cce
parenta3ac7dd8b16ba82ecd0a89078c1954ade4e6564e
SUNRPC: rpc_wake_up() should wake up tasks in the correct order

[ Upstream commit e4c72201b6ec3173dfe13fa2e2335a3ad78d4921 ]

Currently, we wake up the tasks by priority queue ordering, which means
that we ignore the batching that is supposed to help with QoS issues.

Fixes: c049f8ea9a0d ("SUNRPC: Remove the bh-safe lock requirement on the rpc_wait_queue->lock")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/sunrpc/sched.c