cvs commit: src/sys/ufs/ffs ffs_balloc.c ffs_vfsops.c src/sys/ufs/ufs inode.h ufs_inode.c

Poul-Henning Kamp phk at FreeBSD.org
Fri Aug 15 13:03:21 PDT 2003


phk         2003/08/15 13:03:19 PDT

  FreeBSD src repository

  Modified files:
    sys/ufs/ffs          ffs_balloc.c ffs_vfsops.c 
    sys/ufs/ufs          inode.h ufs_inode.c 
  Log:
  Eliminate the i_devvp field from the incore UFS inodes, we can
  get the same value from ip->i_ump->um_devvp.
  
  This saves a pointer in the memory copies of inodes, which can
  easily run into several hundred kilobytes.
  
  The extra indirection is unmeasurable in benchmarks.
  
  Approved by:    mckusick
  
  Revision  Changes    Path
  1.43      +2 -0      src/sys/ufs/ffs/ffs_balloc.c
  1.216     +1 -2      src/sys/ufs/ffs/ffs_vfsops.c
  1.44      +1 -1      src/sys/ufs/ufs/inode.h
  1.51      +1 -4      src/sys/ufs/ufs/ufs_inode.c


More information about the cvs-src mailing list