SUNRPC: various thread management improvements
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | SUNRPC: make rqst_should_sleep() idempotent()net/ | +5 | 4 replies | |
| 2/12 | FIXUP: SUNRPC: Deduplicate thread wake-up codeinclude/ net/ | +3 | 0 replies | |
| 3/12 | FIXUP: SUNRPC: call svc_process() from svc_recv()net/ | +0 | 1 reply | |
| 4/12 | nfsd: Simplify code around svc_exit_thread() call in nfsd()fs/ include/ | +0 | 0 replies | |
| 5/12 | nfsd: separate nfsd_last_thread() from nfsd_put()fs/ fs/ | +25 | 1 reply | |
| 6/12 | SUNRPC: rename and refactor svc_get_next_xprt().net/ | +31 | 3 replies | |
| 7/12 | SUNRPC: move all of xprt handling into svc_xprt_handle()net/ | +20 | 0 replies | |
| 8/12 | SUNRPC: move task-dequeueing code into svc_recv()net/ | +32 | 0 replies | |
| 9/12 | SUNRPC: integrate back-channel processing with svc_recv()fs/ include/ net/ +3 more | +39 | 0 replies | |
| 10/12 | SUNRPC: change how svc threads are asked to exit.fs/ fs/ fs/ +7 more | +62 | 0 replies | |
| 11/12 | SUNRPC: add list of idle threadsinclude/ include/ net/ +1 more | +43 | 0 replies | |
| 12/12 | SUNRPC: discard SP_CONGESTEDinclude/ include/ net/ +1 more | +1 | 0 replies |
Reviews trailers per patch
1 of 12 patches has a Reviewed-by or Acked-by.
| Patch | Jeff Layton |
|---|---|
| 1/12 | R-b |
| 2/12 | |
| 3/12 | |
| 4/12 | |
| 5/12 | |
| 6/12 | |
| 7/12 | |
| 8/12 | |
| 9/12 | |
| 10/12 | |
| 11/12 | |
| 12/12 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/12] SUNRPC: various thread management improvements
This patch set is against topic-sunrpc-thread-scheduling.
The series contains 2 fix-ups that I suggest be merged into earlier patches in the topic branch with matching name.
For the first to work, patch 01/12 needs to be inserted before the first fixed patch.
Remaining 9 patches can go at the end.
An end result of this is that waking up an idle thread no longer searches the list of all threads. However it does requiring taking a spinlock, though it has a very short hold time.
If/when these successfully land in the topic branch (or earlier if you like) I can post a further collection of patches which removes that new locking and reduces locking for the queueing of transports and NFSv4.1 callback requests.
Thanks,
NeilBrown