1. 2006年 7月 17日 13 次提交
  2. 2006年 7月 16日 20 次提交
  3. 2006年 7月 15日 1 次提交
    • rtm's avatar
      no more recursive locks · 46bbd72f
      rtm 提交于
      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
      46bbd72f
  4. 2006年 7月 13日 2 次提交
  5. 2006年 7月 12日 4 次提交
    • rtm's avatar
      passes both usertests · 6eb6f10c
      rtm 提交于
      exit had acquire where I meant release
      swtch now checks that you hold no locks
      6eb6f10c
    • rtm's avatar
      i think my cmpxchg use was wrong in acquire · 8148b6ee
      rtm 提交于
      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)
      8148b6ee
    • rtm's avatar
      cvs add spinlock.h · 66432474
      rtm 提交于
      fix race in schedule()
      66432474
    • rtm's avatar
      no more big kernel lock · 4e8f237b
      rtm 提交于
      succeeds at usertests.c pipe test
      4e8f237b