diff options
author | julian <julian@FreeBSD.org> | 2003-04-10 17:35:44 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2003-04-10 17:35:44 +0000 |
commit | 6f175a0e20cb55d7b1c3f882e3f1ecbd0503a094 (patch) | |
tree | a36a5c6a854637e4e73e7256b937922489d07ddb /sys/kern/kern_proc.c | |
parent | 2a488098e335f6345e9235190cdc78fa82e9d61f (diff) | |
download | FreeBSD-src-6f175a0e20cb55d7b1c3f882e3f1ecbd0503a094.zip FreeBSD-src-6f175a0e20cb55d7b1c3f882e3f1ecbd0503a094.tar.gz |
Move the _oncpu entry from the KSE to the thread.
The entry in the KSE still exists but it's purpose will change a bit
when we add the ability to lock a KSE to a cpu.
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 26fb2b7..aa1e5c5 100644 --- a/sys/kern/kern_proc.c +++ b/sys/kern/kern_proc.c @@ -737,13 +737,13 @@ fill_kinfo_proc(p, kp) kp->ki_pri.pri_level = td->td_priority; kp->ki_pri.pri_native = td->td_base_pri; kp->ki_lastcpu = td->td_lastcpu; + kp->ki_oncpu = td->td_oncpu; kp->ki_tdflags = td->td_flags; kp->ki_pcb = td->td_pcb; kp->ki_kstack = (void *)td->td_kstack; /* Things in the kse */ kp->ki_rqindex = ke->ke_rqindex; - kp->ki_oncpu = ke->ke_oncpu; kp->ki_pctcpu = sched_pctcpu(ke); } else { kp->ki_oncpu = -1; |