M gnot/fault.c => gnot/fault.c +2 -2
@@ 185,9 185,9 @@ fault(Ureg *ur, FFrame *f)
}
}
/*
- * Copy on reference
+ * Copy on write
*/
- if((o->flag & OWRPERM)
+ if((o->flag & OWRPERM) && !read
&& ((head && ((o->flag&OPURE) || o->nproc>1))
|| (!head && pte->page->ref>1))){
M gnot/main.c => gnot/main.c +1 -1
@@ 308,7 308,7 @@ confinit(void)
conf.nqueue = 5 * conf.nstream;
conf.nblock = 24 * conf.nstream;
conf.nsrv = 32*mul;
- conf.nbitmap = 100*mul;
+ conf.nbitmap = 300*mul;
conf.nbitbyte = 300*1024*mul;
if(*(uchar*)MOUSE & (1<<4))
conf.nbitbyte *= 2; /* ldepth 1 */