Commit Graph

44 Commits (32168df609efb46d3f1111fda4e4f0ff1d527013)

Author SHA1 Message Date
Robert Morris 32168df609 no need to save/restore 14
7 years ago
Frans Kaashoek b924e44f06 Merge branch 'riscv' of g.csail.mit.edu:xv6-dev into riscv
7 years ago
Frans Kaashoek ce53416f49 Delete x86 comment
7 years ago
Robert Morris ebc3937209 conservatively call sfence.vma before every satp load.
7 years ago
Robert Morris 6bbc2b2245 cosmetic changes
7 years ago
Robert Morris 7797a38423 another test, to help with locking exercises
7 years ago
Robert Morris 4bc900e78b nits
7 years ago
Robert Morris 061e3be6f8 more comment cleanup
7 years ago
Robert Morris c0266a877a document which proc fields are protected by p->lock
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 fab5e7c1de Make size in stat.h be a uint64
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 ccf299850b Remove some debugging code
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 f59c1bf1d8 try to continue from walk() failing to allocate a page-table page
7 years ago
Robert Morris b27f275014 avoid allocproc() returning a struct proc with non-zero p->sz
7 years ago
Robert Morris 1540c8b15a COW tests
7 years ago
Frans Kaashoek 67702cf706 Checkpoint switching to per-process locks, in attempt clarify xv6's
7 years ago
Robert Morris 40f1041a0a don't enable interrupts until done with sstatus, scause, &c
7 years ago
Robert Morris 535ac52efa oops, don't hold mycpu() result across intr_off()
7 years ago
Robert Morris abfe9999f4 have fork() fail, not panic, if not enough phys mem
7 years ago
Robert Morris 18e76a6c47 sbrk() returns a pointer, so it should be 64 bits
7 years ago
Robert Morris 9b99f00743 oops, don't hold mycpu() result across intr_off()
7 years ago
Robert Morris 0498bfd159 timer interrupt in the kernel -> yield
7 years ago
Frans Kaashoek 2c0338fe42 x
7 years ago
Frans Kaashoek af6c35e14b Introduce alloc3_desc and UsedArea to make code easier to read
7 years ago
Robert Morris a8305b7318 FD_DEVICE
7 years ago
Robert Morris 46744c4a13 for spinlocks, use gcc intrinsics, but say what they compile to
7 years ago
Robert Morris ca39672a30 clean up virtio code
7 years ago
Robert Morris 4adf016925 eliminate ramdisk
7 years ago
Robert Morris de9d72c908 virtio disk driver
7 years ago
Robert Morris 5753553213 separate source into kernel/ user/ mkfs/
7 years ago