]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Don't allow low priority tasks to pre-empt higher priority ones
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 1 Dec 2012 04:59:29 +0000 (23:59 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 5 Dec 2012 23:30:53 +0000 (00:30 +0100)
commitd8ceaf7484ff95f39d0a6fd6c087a6561b47d32d
tree6362560cd66efedd12793552b124417e4fe68a74
parent0201c9f6c5a2a0f50790b202a95eac60a9abccf3
SUNRPC: Don't allow low priority tasks to pre-empt higher priority ones

Currently, the priority queues attempt to be 'fair' to lower priority
tasks by scheduling them after a certain number of higher priority tasks
have run. The problem is that both the transport send queue and
the NFSv4.1 session slot queue have strong ordering requirements.

This patch therefore removes the fairness code in favour of strong
ordering of task priorities.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/sunrpc/sched.h
net/sunrpc/sched.c