summaryrefslogtreecommitdiff
path: root/kernel/proc.c
AgeCommit message (Expand)AuthorFilesLines
2020-08-13handle another out-of-memory in fork(). the policy here is not consistent,Robert Morris1-0/+2
2020-08-13try to handle a few of the possible out-of-memory errors in fork()Robert Morris1-5/+18
2020-08-13modify uvmunmap() to be in aligned pagesRobert Morris1-2/+2
2020-08-10update initcode to avoid using the compressed extensionAsami Doi1-7/+7
2020-08-07modify each page in usertests countfree()Robert Morris1-2/+3
2020-07-17cpu->scheduler -> cpu->context to reduce confusionRobert Morris1-2/+2
2020-07-17rename p->tf to p->trapframe, for consistency with p->contextRobert Morris1-9/+9
2019-10-27fix a potential memory leakRobert Morris1-2/+1
2019-10-16nitsRobert Morris1-1/+1
2019-09-23story is more complex than I thought.Robert Morris1-8/+11
2019-09-23bug fix: reparent() sometimes deadlockedRobert Morris1-15/+32
2019-09-20don't panic if a program frees all its memory with sbrk().Robert Morris1-3/+1
2019-09-10Support exit status for exit/waitFrans Kaashoek1-2/+10
2019-08-19A few now unused DOCFrans Kaashoek1-2/+2
2019-08-18Cosmetic cleanup: fsinit reads sb and calls loginit. initialize icacheFrans Kaashoek1-4/+3
2019-07-27beautify console.cRobert Morris1-0/+1
2019-07-26trampin -> uservecRobert Morris1-2/+2
2019-07-25fix an exit/exit deadlock -> one more locking protocol violationRobert Morris1-10/+14
2019-07-24rationalize some vm function namesRobert Morris1-3/+3
2019-07-24no more PAGEBREAKRobert Morris1-3/+0
2019-07-23simplify kernel mapping callsRobert Morris1-6/+12
2019-07-23a few core -> CPURobert Morris1-1/+1
2019-07-22fix mapkstackFrans Kaashoek1-2/+2
2019-07-22-MD and TRAPFRAMERobert Morris1-3/+3
2019-07-22Merge branch 'riscv-kstack' into riscvFrans Kaashoek1-13/+7
2019-07-20not muchRobert Morris1-5/+4
2019-07-20pi for pipe, rather than p, to avoid confusion with proc's p->lockRobert Morris1-17/+10
2019-07-20not muchRobert Morris1-2/+2
2019-07-19it's not clear that the release will always enable interruptsRobert Morris1-3/+3
2019-07-19with per-proc locks, we don't need the intr_on() inside the loop.Robert Morris1-3/+3
2019-07-19One way of supporting a guard page below kstack: allocate kstacks inFrans Kaashoek1-13/+7
2019-07-16conservatively call sfence.vma before every satp load.Robert Morris1-1/+1
2019-07-10nitsRobert Morris1-1/+3
2019-07-10more comment cleanupRobert Morris1-24/+30
2019-07-10have kill() lock before looking at p->pidRobert Morris1-22/+27
2019-07-10tweak some comments.Robert Morris1-12/+8
2019-07-08holding p->lock all the way through state=RUNNABLE means we don't need EMBRYORobert Morris1-11/+6
2019-07-07eliminate ptable. ptable.lock -> pid_lock.Robert Morris1-15/+14
2019-07-07nitsRobert Morris1-10/+11
2019-07-07avoid a double-lock of initproc->lock if child of init is reparentingRobert Morris1-2/+5
2019-07-06Maybe fix two races identified by rtm (thx!):Frans Kaashoek1-12/+20
2019-07-04xFrans Kaashoek1-1/+1
2019-07-03Simplify wakeup1Frans Kaashoek1-11/+5
2019-07-03Apply some corresponding bug fixes from wq branch hereFrans Kaashoek1-27/+25
2019-07-02Fix a lost wakeup bug: the disk driver's wakeup() can run after theFrans Kaashoek1-65/+50
2019-07-02Merge branch 'riscv' into riscv-procFrans Kaashoek1-13/+31
2019-07-02xFrans Kaashoek1-1/+1
2019-07-02Don't start processes at the end of the proc tableFrans Kaashoek1-6/+8
2019-07-02Avoid two cores selecting the same process to runFrans Kaashoek1-26/+33
2019-07-02avoid allocproc() returning a struct proc with non-zero p->szRobert Morris1-0/+2