Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm Revert a thinko.
details: https://anonhg.NetBSD.org/src/rev/d8f0438fc319
branches: trunk
changeset: 752347:d8f0438fc319
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Wed Feb 24 05:00:55 2010 +0000
description:
Revert a thinko.
diffstat:
sys/uvm/uvm_fault.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
diffs (30 lines):
diff -r daf81017b1eb -r d8f0438fc319 sys/uvm/uvm_fault.c
--- a/sys/uvm/uvm_fault.c Wed Feb 24 04:48:28 2010 +0000
+++ b/sys/uvm/uvm_fault.c Wed Feb 24 05:00:55 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_fault.c,v 1.169 2010/02/24 04:32:58 uebayasi Exp $ */
+/* $NetBSD: uvm_fault.c,v 1.170 2010/02/24 05:00:55 uebayasi Exp $ */
/*
*
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.169 2010/02/24 04:32:58 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_fault.c,v 1.170 2010/02/24 05:00:55 uebayasi Exp $");
#include "opt_uvmhist.h"
@@ -1047,11 +1047,6 @@
/* now forget about the backpages */
if (amap)
*ranons += nback;
-#if 0
- /* XXXUEBS */
- if (uobj)
- *rpages += nback;
-#endif
flt->startva += (nback << PAGE_SHIFT);
flt->npages -= nback;
flt->centeridx = 0;
Home |
Main Index |
Thread Index |
Old Index