cvs commit: src/sys/vfs/nfs nfs_bio.c
Hiten Pandya
hmp at crater.dragonflybsd.org
Mon Jun 7 19:59:38 PDT 2004
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 at 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
More information about the Commits
mailing list