diff options
author | julian <julian@FreeBSD.org> | 2004-06-16 00:26:31 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2004-06-16 00:26:31 +0000 |
commit | 6c9d81ae0df6427002b251b73dadd33e8dcad9ac (patch) | |
tree | ccd863bb9258875fbfaaa74744c38e9db22822b0 /sys/kern/kern_proc.c | |
parent | eedef68f32aacaf0c79774e686ad03691318b8d3 (diff) | |
download | FreeBSD-src-6c9d81ae0df6427002b251b73dadd33e8dcad9ac.zip FreeBSD-src-6c9d81ae0df6427002b251b73dadd33e8dcad9ac.tar.gz |
Nice, is a property of a process as a whole..
I mistakenly moved it to the ksegroup when breaking up the process
structure. Put it back in the proc structure.
Diffstat (limited to 'sys/kern/kern_proc.c')
-rw-r--r-- | sys/kern/kern_proc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_proc.c b/sys/kern/kern_proc.c index 74fa5af..daf51b0 100644 --- a/sys/kern/kern_proc.c +++ b/sys/kern/kern_proc.c @@ -740,6 +740,7 @@ fill_kinfo_thread(struct thread *td, struct kinfo_proc *kp) kp->ki_sflag = p->p_sflag; kp->ki_swtime = p->p_swtime; kp->ki_pid = p->p_pid; + kp->ki_nice = p->p_nice; kg = td->td_ksegrp; ke = td->td_kse; bintime2timeval(&p->p_runtime, &tv); @@ -751,7 +752,6 @@ fill_kinfo_thread(struct thread *td, struct kinfo_proc *kp) kp->ki_slptime = kg->kg_slptime; kp->ki_pri.pri_user = kg->kg_user_pri; kp->ki_pri.pri_class = kg->kg_pri_class; - kp->ki_nice = kg->kg_nice; /* Things in the thread */ kp->ki_wchan = td->td_wchan; |