FreeBSD: populate processor field

This commit is contained in:
Christian Göttsche 2021-01-27 15:11:58 +01:00 committed by BenBE
parent 79620d01c0
commit 8c43856380
1 changed files with 2 additions and 0 deletions

View File

@ -521,6 +521,8 @@ void ProcessList_goThroughEntries(ProcessList* super, bool pauseProcessUpdate) {
* }
*/
proc->processor = kproc->ki_lastcpu;
proc->priority = kproc->ki_pri.pri_level - PZERO;
if (String_eq("intr", kproc->ki_comm) && (kproc->ki_flag & P_SYSTEM)) {