HomeFreeBSD

fork: bump process count before checking for permission to cross the limit

Description

fork: bump process count before checking for permission to cross the limit

The limit is almost never reached. Do the check only on failure to see if
we can override it.

No change in user-visible behavior.

Sponsored by: The FreeBSD Foundation

Details

Provenance
mjgAuthored on
Parents
rS351173: fork: stop skipping < 100 ids on wrap around
Branches
Unknown
Tags
Unknown