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

From: Kees Cook
Date: Thu Nov 21 2019 - 15:59:37 EST


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/20191121000304.48829-1-keescook@xxxxxxxxxxxx

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/eb25959a-9ec4-3530-2031-d9d716b40b20@xxxxxxxxxxxxxxxxxx

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

--
2.17.1