Skip to content
Snippets Groups Projects
  1. Aug 19, 2011
  2. Aug 15, 2011
  3. Aug 12, 2011
    • Robert Morris's avatar
      log write() data · 2e590463
      Robert Morris authored
      usertest for big write()s
      push begin_trans/commit_trans down into syscalls
      2e590463
  4. Jul 27, 2011
  5. Jun 24, 2011
  6. Oct 24, 2009
  7. Aug 30, 2009
    • Russ Cox's avatar
      assorted fixes: · 48755214
      Russ Cox authored
       * rename c/cp to cpu/proc
       * rename cpu.context to cpu.scheduler
       * fix some comments
       * formatting for printout
      48755214
  8. Aug 08, 2009
  9. Jul 11, 2009
  10. May 30, 2009
    • rsc's avatar
      · 34295f46
      rsc authored
      group locks into structs they protect.
      few naming nits.
      34295f46
    • rsc's avatar
      fix bug fix · ce72cadb
      rsc authored
      ce72cadb
    • rsc's avatar
      tidy fs.c; bmap callers always expected allocation · 13ae8808
      rsc authored
      13ae8808
    • rsc's avatar
      inode reuse bug. · f12551b5
      rsc authored
      Suppose an inode has been used and freed.
      It is left marked I_VALID (the bug).
      Now ialloc comes along and reuses the
      inode.  It writes the new inode type to disk
      and returns iget(dev, inum) to get the
      cache entry.  Iget sees that the inode is valid
      and doesn't bother refreshing from disk.
      Now when the caller iupdates, it will write
      out a zero type and the file or directory has
      disappeared.
      f12551b5
    • rsc's avatar
      drop NADDRS and INDIRECT; too many names · ba6cd8a6
      rsc authored
      ba6cd8a6
  11. Oct 20, 2008
  12. Oct 16, 2008
  13. Oct 08, 2008
  14. Aug 28, 2007
    • rsc's avatar
      final nits · bf2932a6
      rsc authored
      bf2932a6
    • rsc's avatar
      spaces around else for rtm · 5516be1f
      rsc authored
      5516be1f
    • rsc's avatar
      more consistent spacing · e4d6a211
      rsc authored
      e4d6a211
    • rsc's avatar
      · d844f0f9
      rsc authored
      Change dev read/write functions
      to take inode* instead of minor number.
      
      Unlock console inode during console_read
      and console_write.  Otherwise background
      processes cannot write to console while the
      shell is reading it waiting for input.
      d844f0f9
  15. Aug 27, 2007
    • rsc's avatar
      nit · 3341e30f
      rsc authored
      3341e30f
    • rsc's avatar
      · 8970df0c
      rsc authored
      No one is going to find this inode.
      There is only one ref to it -- the caller --
      and no links to it.
      8970df0c
    • rsc's avatar
      delete unnecessary #include lines · 558ab49f
      rsc authored
      558ab49f
    • rsc's avatar
      nits · 7895178d
      rsc authored
      7895178d
    • rsc's avatar
      tell what an inode is · 6c34f97c
      rsc authored
      6c34f97c
    • rsc's avatar
      · a505fd66
      rsc authored
      FS cleanup.
      
      Add utility routines bzero, readsb so that balloc, bfree fit on one page.
      Make balloc loop clearer.
      a505fd66
  16. Aug 24, 2007
  17. Aug 21, 2007
    • rsc's avatar
      tweaks · f0721f1b
      rsc authored
      f0721f1b
    • rsc's avatar
      · eaea18cb
      rsc authored
      PDF at http://am.lcs.mit.edu/~rsc/xv6.pdf
      
      Various changes made while offline.
      
       + bwrite sector argument is redundant; use b->sector.
       + reformatting of files for nicer PDF page breaks
       + distinguish between locked, unlocked inodes in type signatures
       + change FD_FILE to FD_INODE
       + move userinit (nee proc0init) to proc.c
       + move ROOTDEV to param.h
       + always parenthesize sizeof argument
      eaea18cb
    • rsc's avatar
      remove namelen parameter · fbf91039
      rsc authored
      fbf91039
    • rsc's avatar
      · f32f3638
      rsc authored
      Various cleanup:
      
       - Got rid of dummy proc[0].  Now proc[0] is init.
       - Added initcode.S to exec /init, so that /init is
         just a regular binary.
       - Moved exec out of sysfile to exec.c
       - Moved code dealing with fs guts (like struct inode)
         from sysfile.c to fs.c.  Code dealing with system call
         arguments stays in sysfile.c
       - Refactored directory routines in fs.c; should be simpler.
       - Changed iget to return *unlocked* inode structure.
         This solves the lookup-then-use race in namei
         without introducing deadlocks.
         It also enabled getting rid of the dummy proc[0].
      f32f3638
  18. Aug 20, 2007
  19. Aug 10, 2007
Loading