Checkpoint page-table version for SMP

Includes code for TLB shootdown (which actually seems unnecessary for xv6)
This commit is contained in:
Frans Kaashoek 2010-07-23 07:41:13 -04:00
parent 74c82bc158
commit 4714c20521
8 changed files with 65 additions and 20 deletions

6
exec.c
View file

@ -95,14 +95,10 @@ exec(char *path, char **argv)
proc->tf->eip = elf.entry; // main
proc->tf->esp = sp;
// printstack();
loadvm(proc);
loadvm(proc);
freevm(oldpgdir);
// printstack();
return 0;
bad: