DragonFlyBSD/src 1d6e00cusr.bin/dsynth mount.c build.c

dsynth - Optimize pty use

* Have the WORKER process allocate the pty once and use it in all
  phases, instead of allocating and closing a new pty for each phase.

* Make N copies of /bin, /lib, /usr/bin, and /libexec into the base
  directory and mount those in the chroots instead of the system
  directory, essentially unsharing these directories.  Each worker
  gets an independent copy.

  This should reduce contention and cache-line ping-ponging overhead
  on /bin/sh, libc, make, etc, significantly.

* Create the template conditionally whether 'pkg' has been built or
  not.
DeltaFile
+127-38usr.bin/dsynth/mount.c
+40-13usr.bin/dsynth/build.c
+1-1usr.bin/dsynth/dsynth.h
+168-523 files

UnifiedSplitRaw