Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F163322615
D54040.id167444.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
505 B
Referenced Files
None
Subscribers
None
D54040.id167444.diff
View Options
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -664,10 +664,14 @@
p->p_rux.rux_uticks = 0;
p->p_rux.rux_sticks = 0;
p->p_rux.rux_iticks = 0;
- PROC_STATUNLOCK(p);
FOREACH_THREAD_IN_PROC(p, td) {
td->td_runtime = 0;
+ td->td_rux.rux_runtime = 0;
+ td->td_rux.rux_uticks = 0;
+ td->td_rux.rux_sticks = 0;
+ td->td_rux.rux_iticks = 0;
}
+ PROC_STATUNLOCK(p);
PROC_UNLOCK(p);
}
sx_sunlock(&allproc_lock);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 23, 2:50 AM (17 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35351497
Default Alt Text
D54040.id167444.diff (505 B)
Attached To
Mode
D54040: thread0: Clear td_rux stats in proc0_post
Attached
Detach File
Event Timeline
Log In to Comment