diff options
author | alc <alc@FreeBSD.org> | 2010-06-18 22:12:12 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2010-06-18 22:12:12 +0000 |
commit | 17190ce91ec8fcdbf572dd69e4a3d845be125ca3 (patch) | |
tree | d9cf906b909f5ffa4bbe8fa16a799fa45d6eea0f /sys/fs/nwfs | |
parent | 77c0226c86ef1d9b5c36a80a21c9377d29449d19 (diff) | |
download | FreeBSD-src-17190ce91ec8fcdbf572dd69e4a3d845be125ca3.zip FreeBSD-src-17190ce91ec8fcdbf572dd69e4a3d845be125ca3.tar.gz |
Eliminate unnecessary page queues locking.
Diffstat (limited to 'sys/fs/nwfs')
-rw-r--r-- | sys/fs/nwfs/nwfs_io.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/fs/nwfs/nwfs_io.c b/sys/fs/nwfs/nwfs_io.c index 0bd7dc3..141c52e 100644 --- a/sys/fs/nwfs/nwfs_io.c +++ b/sys/fs/nwfs/nwfs_io.c @@ -571,12 +571,10 @@ nwfs_putpages(ap) if (!error) { int nwritten = round_page(count - uio.uio_resid) / PAGE_SIZE; - vm_page_lock_queues(); for (i = 0; i < nwritten; i++) { rtvals[i] = VM_PAGER_OK; vm_page_undirty(pages[i]); } - vm_page_unlock_queues(); } return rtvals[0]; #endif /* NWFS_RWCACHE */ |