DragonFly commits List (threaded) for 2004-06
cvs commit: src/sys/vfs/nfs nfs_bio.c
hmp 2004/06/07 19:58:52 PDT
DragonFly src repository
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