kprocs dont share memory with up, see: http://9fans.net/archive/2011/05/159
This commit is contained in:
parent
2def26ce10
commit
d18a4568a8
|
@ -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();
|
||||
*/
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue