Commit Graph

22 Commits (32168df609efb46d3f1111fda4e4f0ff1d527013)

Author SHA1 Message Date
Robert Morris ebc3937209 conservatively call sfence.vma before every satp load.
7 years ago
Robert Morris 4bc900e78b nits
7 years ago
Robert Morris 061e3be6f8 more comment cleanup
7 years ago
Robert Morris 5eb1685700 have kill() lock before looking at p->pid
7 years ago
Robert Morris 9981bb2270 tweak some comments.
7 years ago
Robert Morris 9d34838b4f holding p->lock all the way through state=RUNNABLE means we don't need EMBRYO
7 years ago
Robert Morris db72f3108f eliminate ptable. ptable.lock -> pid_lock.
7 years ago
Robert Morris 4ce3a5fa21 nits
7 years ago
Robert Morris c4f6a241cd avoid a double-lock of initproc->lock if child of init is reparenting
7 years ago
Frans Kaashoek dabbc348bc Maybe fix two races identified by rtm (thx!):
7 years ago
Frans Kaashoek 6bfb078b14 x
7 years ago
Frans Kaashoek 47e69250d0 Simplify wakeup1
7 years ago
Frans Kaashoek cee830af24 Apply some corresponding bug fixes from wq branch here
7 years ago
Frans Kaashoek 26f306113a Fix a lost wakeup bug: the disk driver's wakeup() can run after the
7 years ago
Frans Kaashoek 1e4d7065d6 Merge branch 'riscv' into riscv-proc
7 years ago
Frans Kaashoek 84c759fc02 x
7 years ago
Frans Kaashoek 37ac6f8f4f Don't start processes at the end of the proc table
7 years ago
Frans Kaashoek da51735980 Avoid two cores selecting the same process to run
7 years ago
Robert Morris b27f275014 avoid allocproc() returning a struct proc with non-zero p->sz
7 years ago
Frans Kaashoek 67702cf706 Checkpoint switching to per-process locks, in attempt clarify xv6's
7 years ago
Robert Morris abfe9999f4 have fork() fail, not panic, if not enough phys mem
7 years ago
Robert Morris 5753553213 separate source into kernel/ user/ mkfs/
7 years ago