- Move p_ru to the zero'd section of the proc to keep stats accurate.
This commit is contained in:
parent
128b3d77e8
commit
3707b02b7e
@ -519,6 +519,7 @@ struct proc {
|
||||
struct vmspace *p_vmspace; /* (b) Address space. */
|
||||
u_int p_swtime; /* (j) Time swapped in or out. */
|
||||
struct itimerval p_realtimer; /* (c) Alarm timer. */
|
||||
struct rusage p_ru; /* (a) Exit information. */
|
||||
struct rusage_ext p_rux; /* (cj) Internal resource usage. */
|
||||
struct rusage_ext p_crux; /* (c) Internal child resource usage. */
|
||||
int p_profthreads; /* (c) Num threads in addupc_task. */
|
||||
@ -571,7 +572,6 @@ struct proc {
|
||||
struct mdproc p_md; /* Any machine-dependent fields. */
|
||||
struct callout p_itcallout; /* (h + c) Interval timer callout. */
|
||||
u_short p_acflag; /* (c) Accounting flags. */
|
||||
struct rusage p_ru; /* (a) Exit information. */
|
||||
struct proc *p_peers; /* (r) */
|
||||
struct proc *p_leader; /* (b) */
|
||||
void *p_emuldata; /* (c) Emulator state data. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user