mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-02 12:20:51 +00:00
Fix a bug caming from the committing a pre-merge version of the patch
instead than a post-merge version (respect to another rusage fix). Reported by: marcel Approved by: jeff(mentor)
This commit is contained in:
parent
55b5660de4
commit
bdf08be439
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170476
@ -509,7 +509,9 @@ proc0_post(void *dummy __unused)
|
||||
sx_slock(&allproc_lock);
|
||||
FOREACH_PROC_IN_SYSTEM(p) {
|
||||
microuptime(&p->p_stats->p_start);
|
||||
PROC_SLOCK(p);
|
||||
rufetch(p, &ru); /* Clears thread stats */
|
||||
PROC_SUNLOCK(p);
|
||||
p->p_rux.rux_runtime = 0;
|
||||
p->p_rux.rux_uticks = 0;
|
||||
p->p_rux.rux_sticks = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user