Trond Myklebust
3e1e7e4a6b
SUNRPC: Partial revert of commit 6f9f17287e
...
commit ea7a1019d8 upstream.
The premise of commit 6f9f17287e ("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 6f9f17287e 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 >
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org >
2021-11-18 19:17:20 +01:00
..
2021-07-22 16:19:03 +02:00
2021-11-18 19:17:16 +01:00
2021-08-13 16:30:35 -07:00
2021-11-18 19:17:06 +01:00
2021-07-23 14:20:25 +01:00
2021-06-10 14:08:09 -07:00
2021-08-03 11:21:39 +01:00
2021-10-26 14:47:12 +01:00
2021-11-18 19:16:22 +01:00
2021-09-28 09:29:28 +02:00
2021-06-25 13:13:50 +02:00
2021-11-18 19:16:44 +01:00
2021-09-14 12:51:15 +01:00
2021-11-18 19:16:03 +01:00
2021-06-30 15:51:09 -07:00
2021-11-18 19:17:16 +01:00
2021-06-01 17:01:33 -07:00
2021-11-18 19:16:33 +01:00
2021-08-05 13:27:50 +01:00
2021-01-27 17:04:12 -08:00
2021-11-18 19:17:06 +01:00
2021-08-03 13:05:26 +01:00
2021-11-18 19:17:06 +01:00
2021-06-16 12:13:01 -07:00
2021-08-13 06:41:22 -07:00
2021-01-27 17:04:12 -08:00
2021-11-18 19:17:11 +01:00
2021-11-18 19:16:44 +01:00
2021-08-09 10:13:32 +01:00
2021-06-29 11:28:21 -07:00
2021-05-26 07:03:39 +02:00
2021-09-09 11:00:20 +01:00
2021-03-28 17:56:55 -07:00
2021-06-08 16:31:25 -07:00
2021-08-05 13:27:50 +01:00
2021-11-18 19:16:25 +01:00
2021-09-07 14:06:08 +01:00
2021-11-18 19:16:02 +01:00
2021-07-23 17:17:56 +01:00
2021-11-18 19:16:25 +01:00
2021-09-01 17:18:56 -07:00
2021-11-18 19:17:02 +01:00
2021-08-30 12:23:18 +01:00
2021-10-05 13:11:09 +01:00
2021-08-05 13:27:50 +01:00
2021-10-13 17:44:29 -07:00
2020-06-14 01:57:21 +09:00
2021-08-19 18:09:18 -07:00
2021-09-10 10:00:59 +01:00
2021-08-05 13:27:50 +01:00
2021-03-14 15:00:43 -07:00
2021-09-02 11:37:02 +01:00
2021-08-18 15:35:50 -07:00
2021-04-20 16:44:04 -07:00
2021-03-10 12:45:15 -08:00
2021-11-18 19:16:25 +01:00
2021-11-18 19:17:12 +01:00
2021-11-18 19:16:43 +01:00
2021-11-18 19:17:13 +01:00
2021-11-18 19:17:11 +01:00
2021-11-18 19:17:20 +01:00
2021-08-04 12:35:07 +01:00
2021-10-26 13:43:07 +01:00
2021-10-28 14:41:20 +01:00
2021-10-26 12:29:33 -07:00
2021-11-18 19:17:13 +01:00
2021-11-18 19:16:26 +01:00
2021-06-10 14:08:09 -07:00
2021-06-29 15:45:27 -07:00
2021-09-23 10:11:12 +02:00
2021-06-03 15:13:56 -07:00
2021-06-11 12:55:28 -07:00
2021-07-29 15:06:49 +01:00
2021-07-29 15:06:49 +01:00
2021-08-31 16:43:06 -07:00
2021-04-12 13:27:11 -07:00