linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] docs, parallelism: Rearrange how jobserver reservations are made
@ 2019-11-21 20:59 Kees Cook
  2019-11-21 20:59 ` [PATCH v2 1/3] docs, parallelism: Fix failure path and add comment Kees Cook
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Kees Cook @ 2019-11-21 20:59 UTC (permalink / raw)
  To: Jonathan Corbet; +Cc: Kees Cook, Rasmus Villemoes, linux-doc, linux-kernel

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@chromium.org

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@rasmusvillemoes.dk

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-11-22 17:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-21 20:59 [PATCH v2 0/3] docs, parallelism: Rearrange how jobserver reservations are made Kees Cook
2019-11-21 20:59 ` [PATCH v2 1/3] docs, parallelism: Fix failure path and add comment Kees Cook
2019-11-21 20:59 ` [PATCH v2 2/3] docs, parallelism: Do not leak blocking mode to other readers Kees Cook
2019-11-21 20:59 ` [PATCH v2 3/3] docs, parallelism: Rearrange how jobserver reservations are made Kees Cook
2019-11-22 17:39 ` [PATCH v2 0/3] " Jonathan Corbet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).