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. Reference: /n/sources/patch/sorry/wiredswtch Date: Mon May 19 17:33:26 CES 2008 Signed-off-by: quanstro@quanstro.net Reviewed-by: geoff --- /sys/src/9/port/proc.c Mon May 19 17:32:28 2008 +++ /sys/src/9/port/proc.c Mon May 19 17:32:25 2008 @@ -683,6 +683,7 @@ p->wired = MACHP(bm); p->mp = p->wired; + sched(); /* force switch to correct cpu */ } void