History log of /xv6-public/Notes (Results 1 – 25 of 34)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: xv6-rev11, xv6-rev9, xv6-rev8, xv6-rev7, osdi12-submit, xv6-rev6, xv6-rev5, xv6-2010, xv6-rev4, xv6-rev3, xv6-2008, xv6-2007, xv6-rev1, symlinks, xv6-2006, xv6-rev0
# f9bc4452 07-Sep-2006 kaashoek <kaashoek>

nit in console interrupts


# 0b6ab841 03-Sep-2006 kaashoek <kaashoek>

don't send keyboard interrupts to the second cpu, if we have only one cpu.
xv6 seems to work fine on uniprocessor now.


# 2aa4c3bc 30-Aug-2006 rtm <rtm>

complain if no disk 1
lots of cleanup


# 18432ed5 29-Aug-2006 rtm <rtm>

nits


# 2b19190c 29-Aug-2006 rtm <rtm>

clean up stale error checks and panics
delete unused functions
a few comments


# a6c28c97 26-Aug-2006 rtm <rtm>

mkdir check error from mknod
chdir return -1 if target not a dir


# 5051da6d 25-Aug-2006 rtm <rtm>

inode addrs[NDIRECT] -> NADDRS
fix race in mknod / creat
use last component in dirent in mknod, not path


# bcfb84b6 24-Aug-2006 rtm <rtm>

big directory test


# 8b58e810 23-Aug-2006 kaashoek <kaashoek>

i/o redirection in sh
better parsing of sh commands (copied from jos sh)
cat: read from 1 if no args
sbrk system call, but untested
getpid system call
moved locks in keyboard intr, but why do we get

i/o redirection in sh
better parsing of sh commands (copied from jos sh)
cat: read from 1 if no args
sbrk system call, but untested
getpid system call
moved locks in keyboard intr, but why do we get intr w. null characters from keyboard?

show more ...


# 350e63f7 15-Aug-2006 rtm <rtm>

no more proc[] entry per cpu for idle loop
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


# 17e3cf15 13-Aug-2006 rtm <rtm>

fix iget() bug that allocated in-use inode[] entries


# 211ff0c6 13-Aug-2006 rtm <rtm>

namei returns locked parent dir inode for create / unlink
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 * #

namei returns locked parent dir inode for create / unlink
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

show more ...


# 9e5970d5 13-Aug-2006 rtm <rtm>

link()


# 05e97551 12-Aug-2006 rtm <rtm>

zero out all of dirent.name when creating
don't increase length of directory


# cd93074e 12-Aug-2006 rtm <rtm>

LRU disk cache replacement


# 14938f93 12-Aug-2006 rtm <rtm>

buffer cache, fifo replacement


# 5be0039c 10-Aug-2006 rtm <rtm>

interrupts could be recursive since lapic_eoi() called before rti
so fast interrupts overflow the kernel stack
fix: cli() before lapic_eoi()


# 8a8be1b8 10-Aug-2006 rtm <rtm>

low-level keyboard input (not hooked up to /dev yet)
fix acquire() to cli() *before* incrementing nlock
make T_SYSCALL a trap gate, not an interrupt gate
sadly, various crashes if you hold down a key

low-level keyboard input (not hooked up to /dev yet)
fix acquire() to cli() *before* incrementing nlock
make T_SYSCALL a trap gate, not an interrupt gate
sadly, various crashes if you hold down a keyboard key...

show more ...


# 0e84a0ec 08-Aug-2006 rtm <rtm>

fix race in holding() check in acquire()
give cpu1 a TSS and gdt for when it enters scheduler()
and a pseudo proc[] entry for each cpu
cpu0 waits for each other cpu to start up
read() for files


# 8455980b 28-Jul-2006 rtm <rtm>

exec arguments


# 9d3fb671 21-Jul-2006 rtm <rtm>

namei


# 46bbd72f 15-Jul-2006 rtm <rtm>

no more recursive locks
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 lo

no more recursive locks
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

show more ...


# 6eb6f10c 12-Jul-2006 rtm <rtm>

passes both usertests
exit had acquire where I meant release
swtch now checks that you hold no locks


# 8148b6ee 12-Jul-2006 rtm <rtm>

i think my cmpxchg use was wrong in acquire
nesting cli/sti: release shouldn't always enable interrupts
separate setup of lapic from starting of other cpus, so cpu() works earlier
flag to disable loc

i think my cmpxchg use was wrong in acquire
nesting cli/sti: release shouldn't always enable interrupts
separate setup of lapic from starting of other cpus, so cpu() works earlier
flag to disable locking in console output
make locks work even when curproc==0
(still crashes in clock interrupt)

show more ...


# 66432474 12-Jul-2006 rtm <rtm>

cvs add spinlock.h
fix race in schedule()


12