summaryrefslogtreecommitdiff
path: root/kernel/spinlock.c
AgeCommit message (Collapse)AuthorFilesLines
2019-07-02Remove some debugging codeFrans Kaashoek1-8/+1
2019-07-02Avoid two cores selecting the same process to runFrans Kaashoek1-3/+8
2019-07-02Checkpoint switching to per-process locks, in attempt clarify xv6'sFrans Kaashoek1-3/+5
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.
2019-07-01oops, don't hold mycpu() result across intr_off()Robert Morris1-4/+3
2019-06-13for spinlocks, use gcc intrinsics, but say what they compile toRobert Morris1-9/+9
2019-06-11separate source into kernel/ user/ mkfs/Robert Morris1-0/+110