提交 e3f5ef60 创建 作者: Frans Kaashoek's avatar Frans Kaashoek

working forktest under mtrace (disable cow)

上级 88f85a85
......@@ -8,7 +8,7 @@
#define NDEV 10 // maximum major device number
#define ROOTDEV 1 // device number of file system root disk
#define USERTOP 0xA0000 // end of user address space
#define PHYSTOP 0x1000000 // use phys mem up to here as free pool
#define PHYSTOP 0x4000000 // use phys mem up to here as free pool
#define MAXARG 32 // max exec arguments
#define MAXNAME 16 // max string names
#define MINCYCTHRESH 1000000 // min cycles a proc executes on a core before allowed to be stolen
......@@ -261,7 +261,7 @@ fork(int flags)
{
int i, pid;
struct proc *np;
uint cow = 1;
uint cow = 0;
// cprintf("%d: fork\n", proc->pid);
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论