Skip to content
Snippets Groups Projects
  1. Jan 11, 2011
    • Russ Cox's avatar
      make new code like old code · 1a81e38b
      Russ Cox authored
      Variable declarations at top of function,
      separate from initialization.
      
      Use == 0 instead of ! for checking pointers.
      
      Consistent spacing around {, *, casts.
      
      Declare 0-parameter functions as (void) not ().
      
      Integer valued functions return -1 on failure, 0 on success.
      1a81e38b
  2. Sep 27, 2010
  3. Sep 20, 2010
  4. Sep 19, 2010
  5. Sep 01, 2010
  6. Aug 31, 2010
  7. Aug 11, 2010
  8. Aug 10, 2010
  9. Aug 06, 2010
  10. Aug 05, 2010
  11. May 30, 2009
    • rsc's avatar
      · 34295f46
      rsc authored
      group locks into structs they protect.
      few naming nits.
      34295f46
  12. Sep 27, 2007
  13. 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
  14. Aug 24, 2007
  15. Aug 21, 2007
  16. Aug 20, 2007
  17. Aug 10, 2007
  18. Aug 08, 2007
  19. Sep 07, 2006
  20. Sep 06, 2006
  21. Aug 29, 2006
  22. Aug 24, 2006
  23. Aug 19, 2006
    • kaashoek's avatar
      chdir · 8787cd01
      kaashoek authored
      cd in shell
      nits in mkdir, ls, etc.
      8787cd01
  24. 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
  25. 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
  26. Aug 12, 2006
Loading