summaryrefslogtreecommitdiffstats
path: root/sys/vm/vnode_pager.c
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-08-29 06:23:19 +0000
committerdg <dg@FreeBSD.org>1994-08-29 06:23:19 +0000
commit9bf406e50112e623ae319b8649bea7f082cd158d (patch)
tree7d511c69aec64a269b087cc1d1d1f9a8313a2f5d /sys/vm/vnode_pager.c
parent65de0509082c921c3aef627e5c12f422b175e35e (diff)
downloadFreeBSD-src-9bf406e50112e623ae319b8649bea7f082cd158d.zip
FreeBSD-src-9bf406e50112e623ae319b8649bea7f082cd158d.tar.gz
Patches from John Dyson to improve swap code efficiency.
Religiously add back pmap_clear_modify() in vnode_pager_input until we figure out why system performance isn't what we expect. Submitted by: John Dyson (swap_pager) & David Greenman (vnode_pager)
Diffstat (limited to 'sys/vm/vnode_pager.c')
-rw-r--r--sys/vm/vnode_pager.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/vm/vnode_pager.c b/sys/vm/vnode_pager.c
index e6e8f88..40bfb0c 100644
--- a/sys/vm/vnode_pager.c
+++ b/sys/vm/vnode_pager.c
@@ -37,7 +37,7 @@
* SUCH DAMAGE.
*
* from: @(#)vnode_pager.c 7.5 (Berkeley) 4/20/91
- * $Id: vnode_pager.c,v 1.5 1994/08/06 10:25:50 davidg Exp $
+ * $Id: vnode_pager.c,v 1.6 1994/08/07 13:10:43 davidg Exp $
*/
/*
@@ -1085,6 +1085,7 @@ vnode_pager_input(vnp, m, count, reqpage)
finishup:
for (i = 0; i < count; i++) {
+ pmap_clear_modify(VM_PAGE_TO_PHYS(m[i]));
m[i]->flags |= PG_CLEAN;
m[i]->flags &= ~PG_LAUNDRY;
if (i != reqpage) {
OpenPOWER on IntegriCloud