diff options
author | jeff <jeff@FreeBSD.org> | 2007-06-11 21:59:39 +0000 |
---|---|---|
committer | jeff <jeff@FreeBSD.org> | 2007-06-11 21:59:39 +0000 |
commit | 7806190211a7c2250375f8379837a2f1e02746c7 (patch) | |
tree | 37ff479f6c7f27e66b8e4d48699f65d2e9f1ba9e /sys | |
parent | 0b1fdbaacade7c07369211d519b9ad5f4b823c81 (diff) | |
download | FreeBSD-src-7806190211a7c2250375f8379837a2f1e02746c7.zip FreeBSD-src-7806190211a7c2250375f8379837a2f1e02746c7.tar.gz |
- Move p_ru to the zero'd section of the proc to keep stats accurate.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/proc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/proc.h b/sys/sys/proc.h index b11f909..8991f8d 100644 --- a/sys/sys/proc.h +++ b/sys/sys/proc.h @@ -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. */ |