Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/uvm remove wrong assertions.
details: https://anonhg.NetBSD.org/src/rev/fabc76c4d10c
branches: trunk
changeset: 558177:fabc76c4d10c
user: yamt <yamt%NetBSD.org@localhost>
date: Fri Jan 30 11:56:39 2004 +0000
description:
remove wrong assertions.
sparc's alloc_cpuinfo_global_va() partially unmaps kva range in kernel_map.
noted by Juergen Hannken-Illjes on current-users@.
diffstat:
sys/uvm/uvm_map.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diffs (36 lines):
diff -r 3cb6fba35515 -r fabc76c4d10c sys/uvm/uvm_map.c
--- a/sys/uvm/uvm_map.c Fri Jan 30 11:40:55 2004 +0000
+++ b/sys/uvm/uvm_map.c Fri Jan 30 11:56:39 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_map.c,v 1.154 2004/01/29 12:07:29 yamt Exp $ */
+/* $NetBSD: uvm_map.c,v 1.155 2004/01/30 11:56:39 yamt Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -71,7 +71,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.154 2004/01/29 12:07:29 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.155 2004/01/30 11:56:39 yamt Exp $");
#include "opt_ddb.h"
#include "opt_uvmhist.h"
@@ -563,8 +563,6 @@
/* uvm_map_simplify_entry(map, entry); */ /* XXX */
- KASSERT((entry->flags & UVM_MAP_KERNEL) == 0);
-
uvm_tree_sanity(map, "clip_start entry");
/*
@@ -619,8 +617,6 @@
struct vm_map_entry * new_entry;
vaddr_t new_adj; /* #bytes we move start forward */
- KASSERT((entry->flags & UVM_MAP_KERNEL) == 0);
-
uvm_tree_sanity(map, "clip_end entry");
/*
* Create a new entry and insert it
Home |
Main Index |
Thread Index |
Old Index