Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm skip the MADV_SEQUENTIAL processing if we refault. ...
details: https://anonhg.NetBSD.org/src/rev/e4cff2a09c92
branches: trunk
changeset: 515712:e4cff2a09c92
user: chs <chs%NetBSD.org@localhost>
date: Wed Oct 03 05:17:58 2001 +0000
description:
skip the MADV_SEQUENTIAL processing if we refault. fixes PR 14060.
diffstat:
sys/uvm/uvm_fault.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r ce42264a894d -r e4cff2a09c92 sys/uvm/uvm_fault.c
--- a/sys/uvm/uvm_fault.c Wed Oct 03 05:02:46 2001 +0000
+++ b/sys/uvm/uvm_fault.c Wed Oct 03 05:17:58 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_fault.c,v 1.69 2001/09/15 20:36:45 chs Exp $ */
+/* $NetBSD: uvm_fault.c,v 1.70 2001/10/03 05:17:58 chs Exp $ */
/*
*
@@ -720,7 +720,7 @@
* now and then forget about them (for the rest of the fault).
*/
- if (ufi.entry->advice == MADV_SEQUENTIAL) {
+ if (ufi.entry->advice == MADV_SEQUENTIAL && nback != 0) {
UVMHIST_LOG(maphist, " MADV_SEQUENTIAL: flushing backpages",
0,0,0,0);
Home |
Main Index |
Thread Index |
Old Index