git: 9front

Download patch

ref: 930ccb1a097b0872870ac595ff65fc5d8cff749f
parent: 9a517d64bba245913111da1a2a9a9baf2aa13a6a
author: cinap_lenrek <cinap_lenrek@centraldogma>
date: Tue May 31 13:06:41 EDT 2011

kprocs dont share memory with up, see: http://9fans.net/archive/2011/05/159

--- a/sys/src/9/port/proc.c
+++ b/sys/src/9/port/proc.c
@@ -1378,13 +1378,14 @@
 	memset(p->time, 0, sizeof(p->time));
 	p->time[TReal] = MACHP(0)->ticks;
 	ready(p);
+
 	/*
 	 *  since the bss/data segments are now shareable,
 	 *  any mmu info about this process is now stale
 	 *  and has to be discarded.
-	 */
 	p->newtlb = 1;
 	flushmmu();
+	 */
 }
 
 /*
--