Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/sys/uvm pullup 1.36->1.37 as requested by chuq -- fixes...
details: https://anonhg.NetBSD.org/src/rev/6db1064b765d
branches: netbsd-1-4
changeset: 468372:6db1064b765d
user: perry <perry%NetBSD.org@localhost>
date: Mon Apr 19 16:02:52 1999 +0000
description:
pullup 1.36->1.37 as requested by chuq -- fixes botch mmapping large regions.
diffstat:
sys/uvm/uvm_map.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 5446b335ef13 -r 6db1064b765d sys/uvm/uvm_map.c
--- a/sys/uvm/uvm_map.c Mon Apr 19 15:31:51 1999 +0000
+++ b/sys/uvm/uvm_map.c Mon Apr 19 16:02:52 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_map.c,v 1.36 1999/03/28 19:53:50 mycroft Exp $ */
+/* $NetBSD: uvm_map.c,v 1.36.2.1 1999/04/19 16:02:52 perry Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -1455,7 +1455,7 @@
newentry->start = dstaddr + oldoffset;
newentry->end =
newentry->start + (entry->end - (entry->start + fudge));
- if (newentry->end > newend)
+ if (newentry->end > newend || newentry->end < newentry->start)
newentry->end = newend;
newentry->object.uvm_obj = entry->object.uvm_obj;
if (newentry->object.uvm_obj) {
Home |
Main Index |
Thread Index |
Old Index