Module Name:    src
Committed By:   matt
Date:           Mon May  7 18:30:56 UTC 2012

Modified Files:
        src/sys/uvm [matt-nb5-mips64]: uvm_map.c

Log Message:
Use uvm_km_pagefree to free a kmap entry page.


To generate a diff of this commit:
cvs rdiff -u -r1.263.4.3.4.8 -r1.263.4.3.4.9 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.263.4.3.4.8 src/sys/uvm/uvm_map.c:1.263.4.3.4.9
--- src/sys/uvm/uvm_map.c:1.263.4.3.4.8	Wed Feb 29 18:03:39 2012
+++ src/sys/uvm/uvm_map.c	Mon May  7 18:30:56 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: uvm_map.c,v 1.263.4.3.4.8 2012/02/29 18:03:39 matt Exp $	*/
+/*	$NetBSD: uvm_map.c,v 1.263.4.3.4.9 2012/05/07 18:30:56 matt 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.263.4.3.4.8 2012/02/29 18:03:39 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.263.4.3.4.9 2012/05/07 18:30:56 matt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_uvmhist.h"
@@ -4782,7 +4782,7 @@ uvm_kmapent_free(struct vm_map_entry *en
 	pmap_update(vm_map_pmap(map));
 	vm_map_unlock(map);
 	pg = PHYS_TO_VM_PAGE(pa);
-	uvm_pagefree(pg);
+	uvm_km_pagefree(pg);
 	UVMMAP_EVCNT_INCR(ukh_free);
 }
 

Reply via email to