Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
fix bug in test code of malloc
|
|
test malloc
|
|
cd in shell
nits in mkdir, ls, etc.
|
|
each cpu[] has its own gdt and tss
no per-proc gdt or tss, re-write cpu's in scheduler (you win, cliff)
main0() switches to cpu[0].mpstack
|
|
don't hold fd table lock across idecref() (latter does block i/o)
idecref calls iput() in case last ref -> freeing inode
dir size is 512 * # blocks, so readi/writei &c work
unlink deletes dirent even if ip->nlink > 0
|
|
|
|
|
|
|
|
usertests for concurrent create/delete, and read() after unlink()
|
|
no more cons_put system calls
usertests tests two processes writing files
|
|
|
|
|
|
Add cons_puts for cleaner output.
|
|
wakeup1() assumes you hold proc_table_lock
sleep(chan, lock) provides atomic sleep-and-release to wait for condition
ugly code in swtch/scheduler to implement new sleep
fix lots of bugs in pipes, wait, and exit
fix bugs if timer interrupt goes off in schedule()
console locks per line, not per byte
|
|
exit had acquire where I meant release
swtch now checks that you hold no locks
|
|
fix race in schedule()
|
|
succeeds at usertests.c pipe test
|
|
|
|
usertest.c tests pre-emption
kill()
|
|
swtch idles on per-CPU stack, not on calling process's stack
fix pipe bugs
usertest.c tests pipes, fork, exit, close
|
|
pipes
|