Module Name: src
Committed By: matt
Date: Mon May 7 21:07:35 UTC 2012
Modified Files:
src/sys/uvm [matt-nb5-mips64]: uvm_anon.c
Log Message:
Move call to uvm_anon_dropswap to with #ifdef VMSWAP
To generate a diff of this commit:
cvs rdiff -u -r1.51.28.2 -r1.51.28.3 src/sys/uvm/uvm_anon.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/uvm/uvm_anon.c
diff -u src/sys/uvm/uvm_anon.c:1.51.28.2 src/sys/uvm/uvm_anon.c:1.51.28.3
--- src/sys/uvm/uvm_anon.c:1.51.28.2 Thu Feb 16 04:20:45 2012
+++ src/sys/uvm/uvm_anon.c Mon May 7 21:07:34 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_anon.c,v 1.51.28.2 2012/02/16 04:20:45 matt Exp $ */
+/* $NetBSD: uvm_anon.c,v 1.51.28.3 2012/05/07 21:07:34 matt Exp $ */
/*
*
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_anon.c,v 1.51.28.2 2012/02/16 04:20:45 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_anon.c,v 1.51.28.3 2012/05/07 21:07:34 matt Exp $");
#include "opt_uvmhist.h"
@@ -207,13 +207,13 @@ uvm_anfree(struct vm_anon *anon)
uvmexp.swpgonly--;
mutex_exit(&uvm_swap_data_lock);
}
-#endif /* defined(VMSWAP) */
/*
* free any swap resources.
*/
uvm_anon_dropswap(anon);
+#endif /* defined(VMSWAP) */
/*
* give a page replacement hint.