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

This commit is contained in:
cinap_lenrek 2011-05-31 17:06:41 +00:00
parent 2def26ce10
commit d18a4568a8

View file

@ -1378,13 +1378,14 @@ kproc(char *name, void (*func)(void *), void *arg)
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();
*/
}
/*