]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Add explicit rescheduling points in the receive path
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 14 Jan 2018 20:28:29 +0000 (15:28 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Mon, 15 Jan 2018 04:06:30 +0000 (23:06 -0500)
commit59acb5881c943aaf333ef1986b099973fc62d47f
tree944de880b5c873be536f08557ba5e43ee3c48713
parent0d7e54e11212a9abf715a41921acc38d749eac4f
SUNRPC: Add explicit rescheduling points in the receive path

When reading the reply from the server, insert an explicit
cond_resched() to avoid starving higher priority tasks.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
net/sunrpc/xprtsock.c