Skip to content
Snippets Groups Projects
  1. Aug 11, 2010
  2. Aug 10, 2010
  3. Aug 06, 2010
  4. Aug 05, 2010
  5. May 30, 2009
    • rsc's avatar
      · 34295f46
      rsc authored
      group locks into structs they protect.
      few naming nits.
      34295f46
  6. Sep 27, 2007
  7. Sep 26, 2007
    • rsc's avatar
      believe it or not, this was working · 666f58c7
      rsc authored
      the macro expansion of "char *cp;" turned into
      char *(curproc[cpu()]);  which declares a dynamically
      sized array of char* called curproc.
      
      so then &cp == &(curproc[cpu()]) was actually a
      stack variable as "expected".  it was one past the
      end of the array, but the implicit alloca allocated
      more than was necessary.
      
      do not tell me that making cp a #define was a bad idea.
      there are worse problems to fix.  more on that later.
      666f58c7
    • rsc's avatar
      debugging prints · 56c1a151
      rsc authored
      56c1a151
  8. Aug 24, 2007
  9. Aug 21, 2007
  10. Aug 20, 2007
  11. Aug 10, 2007
  12. Aug 08, 2007
  13. Sep 07, 2006
  14. Sep 06, 2006
  15. Aug 29, 2006
  16. Aug 24, 2006
  17. Aug 19, 2006
    • kaashoek's avatar
      chdir · 8787cd01
      kaashoek authored
      cd in shell
      nits in mkdir, ls, etc.
      8787cd01
  18. Aug 15, 2006
    • rtm's avatar
      no more proc[] entry per cpu for idle loop · 350e63f7
      rtm authored
      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
      350e63f7
  19. Aug 13, 2006
    • rtm's avatar
      namei returns locked parent dir inode for create / unlink · 211ff0c6
      rtm authored
      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
      211ff0c6
  20. Aug 12, 2006
  21. Jul 28, 2006
  22. Jul 16, 2006
    • rsc's avatar
      nitpicks · c54c7926
      rsc authored
      c54c7926
    • rsc's avatar
      · 9b37d1bf
      rsc authored
      Add user.h for prototypes.
      Add cons_puts for cleaner output.
      9b37d1bf
  23. Jul 15, 2006
    • rtm's avatar
      no more recursive locks · 46bbd72f
      rtm authored
      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
  24. Jul 12, 2006
    • rtm's avatar
      passes both usertests · 6eb6f10c
      rtm authored
      exit had acquire where I meant release
      swtch now checks that you hold no locks
      6eb6f10c
Loading