have procwired force switch to correct cpu immediately.
NOTES:
Sun Jun 1 18:45:22 EDT 2008 geoff
there's no guarantee that the proc just wired will be the next
scheduled to run.
--
/sys/src/9/port/proc.c
proc.c.orig:683,688 - /n/sources/patch/sorry/wiredswtch/proc.c:683,689
p->wired = MACHP(bm);
p->mp = p->wired;
+ sched(); /* force switch to correct cpu */
}
void