Checkpoint switching to per-process locks, in attempt clarify xv6's
locking plan, which is a difficult to understand because ptable lock protects many invariants. This implementation has a bug: once in a while xv6 unlocks a proc lock that is locked by another core.
This commit is contained in:
parent
535ac52efa
commit
67702cf706
12 changed files with 139 additions and 85 deletions
|
@ -4,6 +4,7 @@
|
|||
#include "date.h"
|
||||
#include "param.h"
|
||||
#include "memlayout.h"
|
||||
#include "spinlock.h"
|
||||
#include "proc.h"
|
||||
|
||||
int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue