diff options
| author | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-05-31 17:06:41 +0000 |
|---|---|---|
| committer | cinap_lenrek <cinap_lenrek@centraldogma> | 2011-05-31 17:06:41 +0000 |
| commit | d18a4568a8390d48ac8b823209e6af5d4be8e999 (patch) | |
| tree | b424b4c7b2c8e527b231103d4914ca255a6cbffd | |
| parent | 2def26ce10fbd0e2aa11ca4a95cfe229ed5fc448 (diff) | |
| download | plan9front-d18a4568a8390d48ac8b823209e6af5d4be8e999.tar.xz | |
kprocs dont share memory with up, see: http://9fans.net/archive/2011/05/159
| -rw-r--r-- | sys/src/9/port/proc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/src/9/port/proc.c b/sys/src/9/port/proc.c index dc15b47b0..48c318c97 100644 --- a/sys/src/9/port/proc.c +++ b/sys/src/9/port/proc.c @@ -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(); + */ } /* |
