DragonFly BSD
DragonFly commits List (threaded) for 2004-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

cvs commit: src/sys/vfs/nfs nfs_bio.c


From: Hiten Pandya <hmp@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 7 Jun 2004 19:58:52 -0700 (PDT)

hmp         2004/06/07 19:58:52 PDT

DragonFly src repository

  Modified files:
    sys/vfs/nfs          nfs_bio.c 
  Log:
  Replace the use of specially reserved pbufs in NFS's nfs_getpages() and
  nfs_putpages() with MSF BUFs.  The pbufs were only used for providing a
  KVA start address for the UIO and then released, thus being temporary.
  
  This will not give a very huge boost in performance just yet because
  not enough MSF_BUFs being reserved due to shortages of available KVA.
  Until we convert the BUF and DEV subsystems to utilize the MSF_BUF+XIO
  combo, we are pretty much limited.
  
  In the worst case, the thrashing effect of MSF_BUFs will be no more then
  the temporary pbuf+qenter; instead, the MSF_BUF will not be able to
  cache the page-list mappings and end up doing a pmap_qenter() everytime.
  
  Discussed-with: 	Matthew Dillon <dillon@xxxxxxxxxxxxx>
                  	(Earlier version of these changes were tested by him)
  
  Revision  Changes    Path
  1.17      +11 -19    src/sys/vfs/nfs/nfs_bio.c


http://www.dragonflybsd.org/cvsweb/src/sys/vfs/nfs/nfs_bio.c.diff?r1=1.16&r2=1.17&f=u



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]