Page MenuHomeFreeBSD

makesyscalls.lua: generate all files in /tmp, write into place at the end
ClosedPublic

Authored by kevans on Thu, Jan 9, 3:08 AM.

Details

Summary

This makes makesyscalls.lua more parallel-friendly, or at least not as hostile to the idea. We get into situations where we're running parallel if we end up with MAKE_JOBS>1 entering any of the sysent targets, since each output file is recognized a distinct build step that needs to be executed.

A later commit should restructure the individual Makefiles to ensure makesyscalls.lua is serialized per-sysent rather than executing it once per generated file, but with this one we at least have a potentially much smaller window to interlace output.

Reported by: jhb

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

kevans created this revision.Thu, Jan 9, 3:08 AM
brooks accepted this revision.Thu, Jan 9, 6:44 PM

This seems fine and won't be hard to merge with our local changes.

This revision is now accepted and ready to land.Thu, Jan 9, 6:44 PM