diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-07-12 15:52:59 +0200 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-10-04 02:49:05 +0200 |
commit | ea7a1019d8baf8503ecd6e3ec8436dec283569e6 (patch) | |
tree | 510a00c01d7b8e77dbcd93baf90256fcba09126f /Documentation/hwmon/mcp3021.rst | |
parent | NFS: Fix up nfs_ctx_key_to_expire() (diff) | |
download | linux-ea7a1019d8baf8503ecd6e3ec8436dec283569e6.tar.xz linux-ea7a1019d8baf8503ecd6e3ec8436dec283569e6.zip |
SUNRPC: Partial revert of commit 6f9f17287e78
The premise of commit 6f9f17287e78 ("SUNRPC: Mitigate cond_resched() in
xprt_transmit()") was that cond_resched() is expensive and unnecessary
when there has been just a single send.
The point of cond_resched() is to ensure that tasks that should pre-empt
this one get a chance to do so when it is safe to do so. The code prior
to commit 6f9f17287e78 failed to take into account that it was keeping a
rpc_task pinned for longer than it needed to, and so rather than doing a
full revert, let's just move the cond_resched.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'Documentation/hwmon/mcp3021.rst')
0 files changed, 0 insertions, 0 deletions