ref: 1855315a5bd797443155520973cf0848fb789477
parent: 5af4ed53995c8a903de36846e4be03284e429c65
author: cinap_lenrek <cinap_lenrek@felloff.net>
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);
--
⑨