mirror of
https://github.com/opnsense/src.git
synced 2026-03-18 00:25:50 -04:00
fork_trampoline() if switchtime is valid. This fixes not accounting for the time between the previous context switch and and the current time (when the forked child starts up here) in most cases - the time is now counted in the child's runtime. I think it actually fixes all cases, and switchtime is always valid here, since there must have been a context switch just before the forked child starts up. Some code should be removed if this is correct. The check that switchtime is valid sometimes gives a false negative because the check isn't correct until the after the first context switch after the system has been up for >= 1 second. |
||
|---|---|---|
| .. | ||
| amd64 | ||
| conf | ||
| include | ||
| isa | ||
| pci | ||
| Makefile | ||