ref: 023d957e6b80f88584fdff30a95be6330613b27a
parent: 46a733c328cf8ab399d779cc54333fe858d89da7
author: cinap_lenrek <[email protected]>
date: Sun Jan 26 21:17:14 EST 2020
kernel: restore old behaviour that kprocs have ther noteid == pid
--- a/sys/src/9/port/proc.c
+++ b/sys/src/9/port/proc.c
@@ -1480,7 +1480,7 @@
memset(p->time, 0, sizeof(p->time));
p->time[TReal] = MACHP(0)->ticks;
- pidalloc(p);
+ p->noteid = pidalloc(p);
procpriority(p, PriKproc, 0);