Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm rearrange a few lines to appease an assertion.
details: https://anonhg.NetBSD.org/src/rev/227ace5aff22
branches: trunk
changeset: 533408:227ace5aff22
user: chs <chs%NetBSD.org@localhost>
date: Sat Jun 29 18:27:30 2002 +0000
description:
rearrange a few lines to appease an assertion.
diffstat:
sys/uvm/uvm_amap.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (32 lines):
diff -r 61ad50700d84 -r 227ace5aff22 sys/uvm/uvm_amap.c
--- a/sys/uvm/uvm_amap.c Sat Jun 29 17:58:50 2002 +0000
+++ b/sys/uvm/uvm_amap.c Sat Jun 29 18:27:30 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_amap.c,v 1.43 2002/03/28 06:06:29 nathanw Exp $ */
+/* $NetBSD: uvm_amap.c,v 1.44 2002/06/29 18:27:30 chs Exp $ */
/*
*
@@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_amap.c,v 1.43 2002/03/28 06:06:29 nathanw Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_amap.c,v 1.44 2002/06/29 18:27:30 chs Exp $");
#undef UVM_AMAP_INLINE /* enable/disable amap inlines */
@@ -843,11 +843,11 @@
* PG_RELEASED | PG_WANTED.
*/
- npg->flags &= ~(PG_BUSY|PG_FAKE);
- UVM_PAGE_OWN(npg, NULL);
uvm_lock_pageq();
uvm_pageactivate(npg);
uvm_unlock_pageq();
+ npg->flags &= ~(PG_BUSY|PG_FAKE);
+ UVM_PAGE_OWN(npg, NULL);
simple_unlock(&nanon->an_lock);
}
simple_unlock(&anon->an_lock);
Home |
Main Index |
Thread Index |
Old Index