Page MenuHomeFreeBSD

Makefile.inc1: sysent: allow subordinate sysent targets to run in parallel
ClosedPublic

Authored by kevans on Sep 29 2020, 8:57 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 17, 9:17 AM
Unknown Object (File)
Oct 7 2024, 2:15 PM
Unknown Object (File)
Sep 17 2024, 10:04 PM
Unknown Object (File)
Sep 11 2024, 4:03 AM
Unknown Object (File)
Sep 8 2024, 5:59 AM
Unknown Object (File)
Sep 7 2024, 6:43 PM
Unknown Object (File)
Sep 7 2024, 2:01 PM
Unknown Object (File)
Sep 5 2024, 12:30 PM
Subscribers

Details

Summary

makesyscalls.lua (and indeed makesyscalls.sh) are both safe to be run in parallel, so let's do it.

This is a trivial difference because runtime per-target is pretty small, but I like seeing it run in parallel when my muscle memory types make -sj4.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kevans retitled this revision from Makefile.inc1: sysent: run subordinate sysent targets in parallel to Makefile.inc1: sysent: allow subordinate sysent targets to run in parallel.Sep 29 2020, 9:11 PM
Makefile.inc1
1506 ↗(On Diff #77651)

should sysent still be .PHONY

This revision is now accepted and ready to land.Sep 29 2020, 10:09 PM
Makefile.inc1
1506 ↗(On Diff #77651)

Admittedly, I have no idea. It doesn't seem to make a difference based on make -dm output with and without, presumably because it still needs to examine the dependencies anyways and those are .PHONY.

I'm going to err on the side of leaving it in because it can't hurt and punt it to further cleanup later if someone wants to. I will not remove it pre-commit.