summaryrefslogtreecommitdiff
path: root/kernel/proc.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-10lab pgtbl: finishpgtblMole Shang1-1/+44
2024-02-05lab syscall: finishMole Shang1-0/+20
2022-10-17xRobert Morris1-1/+2
2022-10-17oops. scheduler() inherits the interrupt status of theRobert Morris1-4/+4
2022-10-16scheduler()'s intr_on() is in the wrong place, reflectingRobert Morris1-3/+4
2022-10-12forkret first memory modelRobert Morris1-1/+4
2022-08-23Merge branch 'riscv' into uvm-permFrans Kaashoek1-14/+33
2022-08-23Merge branch 'riscv-killed' into riscvFrans Kaashoek1-1/+20
2022-08-22Use pp instead of np to be more consistentFrans Kaashoek1-12/+12
2022-08-17Use uint64 (thanks carlclone and Harry Porter)Frans Kaashoek1-1/+1
2022-08-12Experiment with being more precise setting permissions for user pages.Frans Kaashoek1-1/+1
2022-08-12cosmetic changes (thanks Harry Porter)Frans Kaashoek1-3/+4
2022-08-12Add USED to states (thanks Harry Porter)Frans Kaashoek1-0/+2
2022-08-11Use p->lock to read p->killedFrans Kaashoek1-2/+15
2022-08-11Use atomic store_n and load_nFrans Kaashoek1-2/+2
2022-08-11Clean up using killed()Frans Kaashoek1-1/+7
2022-08-10Read and write p->killed using atomicsFrans Kaashoek1-2/+2
2022-08-09nothing muchRobert Morris1-8/+13
2020-11-05proc_tree_lock -> wait_lockRobert Morris1-14/+15
2020-11-05don't over-lock in exit()Robert Morris1-2/+4
2020-11-05oopsRobert Morris1-1/+1
2020-11-05Frans' proc_lock.Robert Morris1-76/+33
2020-11-05free proc if kalloc failsRobert Morris1-0/+1
2020-10-14kvmmake() makes a complete kernel page table, matching Figure 3.3Frans Kaashoek1-11/+18
2020-08-17handle another out-of-memory in fork(). the policy here is not consistent,Robert Morris1-0/+2
2020-08-17try to handle a few of the possible out-of-memory errors in fork()Robert Morris1-5/+18
2020-08-17modify uvmunmap() to be in aligned pagesRobert Morris1-2/+2
2020-08-10Merge pull request #9 from d0iasm/riscvFrans Kaashoek1-7/+7
2020-08-10modify each page in usertests countfree()Robert Morris1-2/+3
2020-08-10cpu->scheduler -> cpu->context to reduce confusionRobert Morris1-2/+2
2020-08-10rename p->tf to p->trapframe, for consistency with p->contextRobert Morris1-9/+9
2020-03-20update initcode to avoid using the compressed extensionAsami Doi1-7/+7
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