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)
May 24 2024, 2:43 AM
Unknown Object (File)
May 24 2024, 2:36 AM
Unknown Object (File)
May 24 2024, 12:35 AM
Unknown Object (File)
Dec 20 2023, 6:06 AM
Unknown Object (File)
Aug 28 2023, 7:24 AM
Unknown Object (File)
Aug 28 2023, 7:23 AM
Unknown Object (File)
Aug 28 2023, 7:22 AM
Unknown Object (File)
Aug 28 2023, 7:06 AM
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.