Skip to content

docs, parallelism: Rearrange how jobserver reservations are made

Kees Cook linux-doc lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 5 repliesSuperseded

Changes in v2 from the cover letter

- correct comments and commit logs (rasmus)
- handle non-parallel mode more cleanly (rasmus)
- reserve slots 8 at a time (rasmus)
v1: https://lore.kernel.org/lkml/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3docs, parallelism: Fix failure path and add commentscripts/jobserver-count+3 -00 replies
2/3docs, parallelism: Do not leak blocking mode to other readersscripts/jobserver-count+6 -80 replies
3/3docs, parallelism: Rearrange how jobserver reservations are madeDocumentation/Makefile Documentation/sphinx/parallel-wrapper.sh scripts/jobserver-count +1 more+101 -620 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] docs, parallelism: Rearrange how jobserver reservations are made

v2:
- correct comments and commit logs (rasmus)
- handle non-parallel mode more cleanly (rasmus)
- reserve slots 8 at a time (rasmus)
v1: https://lore.kernel.org/lkml/[email protected]

Hi,

As Rasmus noted[1], there were some deficiencies in how the Make jobserver vs sphinx parallelism logic was handled. This series attempts to address all those problems by building a set of wrappers and fixing some of the internal logic.

Thank you Rasmus for the suggestions (and the "jobhog" example)! :)

-Kees

[1] https://lore.kernel.org/lkml/[email protected]

Kees Cook (3):
docs, parallelism: Fix failure path and add comment docs, parallelism: Do not leak blocking mode to other readers docs, parallelism: Rearrange how jobserver reservations are made

 Documentation/Makefile                   |  5 +-
 Documentation/sphinx/parallel-wrapper.sh | 33 ++++++++++++
 scripts/jobserver-count                  | 58 ---------------------
 scripts/jobserver-exec                   | 66 ++++++++++++++++++++++++
 4 files changed, 101 insertions(+), 61 deletions(-)
 create mode 100644 Documentation/sphinx/parallel-wrapper.sh
 delete mode 100755 scripts/jobserver-count
 create mode 100755 scripts/jobserver-exec
Signature · 1 line
2.17.1