]> 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)
commit72ffc2bb964c00ea226660d4d235f080e519f0b6
tree6362560cd66efedd12793552b124417e4fe68a74
parentaba5bcfc1451dfb5dd266a353c01abb0fb543109
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