Module Name:    src
Committed By:   yamt
Date:           Sat Aug  1 15:36:07 UTC 2009

Modified Files:
        src/sys/uvm: uvm_map.c

Log Message:
don't call uvm_map_check with map unlocked.


To generate a diff of this commit:
cvs rdiff -u -r1.273 -r1.274 src/sys/uvm/uvm_map.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/uvm/uvm_map.c
diff -u src/sys/uvm/uvm_map.c:1.273 src/sys/uvm/uvm_map.c:1.274
--- src/sys/uvm/uvm_map.c:1.273	Sat Aug  1 15:32:02 2009
+++ src/sys/uvm/uvm_map.c	Sat Aug  1 15:36:07 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: uvm_map.c,v 1.273 2009/08/01 15:32:02 yamt Exp $	*/
+/*	$NetBSD: uvm_map.c,v 1.274 2009/08/01 15:36:07 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.273 2009/08/01 15:32:02 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.274 2009/08/01 15:36:07 yamt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_uvmhist.h"
@@ -2704,9 +2704,6 @@
 	    len,0);
 	UVMHIST_LOG(maphist," ...,dstmap=0x%x, flags=0x%x)", dstmap,flags,0,0);
 
-	uvm_map_check(srcmap, "map_extract src enter");
-	uvm_map_check(dstmap, "map_extract dst enter");
-
 	/*
 	 * step 0: sanity check: start must be on a page boundary, length
 	 * must be page sized.  can't ask for CONTIG/QREF if you asked for
@@ -2994,9 +2991,6 @@
 	if (resentry != NULL)
 		uvm_mapent_free(resentry);
 
-	uvm_map_check(srcmap, "map_extract src leave");
-	uvm_map_check(dstmap, "map_extract dst leave");
-
 	return (0);
 
 	/*
@@ -3012,9 +3006,6 @@
 	if (resentry != NULL)
 		uvm_mapent_free(resentry);
 
-	uvm_map_check(srcmap, "map_extract src err leave");
-	uvm_map_check(dstmap, "map_extract dst err leave");
-
 	if ((flags & UVM_EXTRACT_RESERVED) == 0) {
 		uvm_unmap(dstmap, dstaddr, dstaddr+len);   /* ??? */
 	}

Reply via email to