Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/yamt-km]: src/sys/uvm uvm_km_free: uvm_km_pgremove_intrsafe and pmap_kre...
details: https://anonhg.NetBSD.org/src/rev/c755754f380d
branches: yamt-km
changeset: 573312:c755754f380d
user: yamt <yamt%NetBSD.org@localhost>
date: Mon Jan 31 11:31:42 2005 +0000
description:
uvm_km_free: uvm_km_pgremove_intrsafe and pmap_kremove only when UVM_KMF_WIRED.
diffstat:
sys/uvm/uvm_km.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 3b4ca79d20a5 -r c755754f380d sys/uvm/uvm_km.c
--- a/sys/uvm/uvm_km.c Fri Jan 28 13:54:11 2005 +0000
+++ b/sys/uvm/uvm_km.c Mon Jan 31 11:31:42 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_km.c,v 1.76.4.2 2005/01/25 12:58:28 yamt Exp $ */
+/* $NetBSD: uvm_km.c,v 1.76.4.3 2005/01/31 11:31:42 yamt Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -134,7 +134,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_km.c,v 1.76.4.2 2005/01/25 12:58:28 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_km.c,v 1.76.4.3 2005/01/31 11:31:42 yamt Exp $");
#include "opt_uvmhist.h"
@@ -657,7 +657,7 @@
if (flags & UVM_KMF_PAGEABLE) {
uvm_km_pgremove(addr, addr + size);
pmap_remove(pmap_kernel(), addr, addr + size);
- } else {
+ } else if (flags & UVM_KMF_WIRED) {
uvm_km_pgremove_intrsafe(addr, addr + size);
pmap_kremove(addr, size);
}
Home |
Main Index |
Thread Index |
Old Index