diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2010-07-02 23:12:39 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2010-07-02 23:12:39 +0000 |
commit | fa7c10552d8545c72fa4edc2d3f2caed1c29863f (patch) | |
tree | e1467aa6435be12569ff3726a40e82f88ed9a180 | |
parent | 402ee498090e479daa5396339125017d80f0465f (diff) |
no need to call uvm_km_free_wakup for the kernel map, uvm_km_free is
enough.
ok tedu@, art@
-rw-r--r-- | sys/uvm/uvm_km.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/uvm/uvm_km.c b/sys/uvm/uvm_km.c index f239497ef5f..64b3f0be812 100644 --- a/sys/uvm/uvm_km.c +++ b/sys/uvm/uvm_km.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_km.c,v 1.82 2010/07/02 01:25:06 art Exp $ */ +/* $OpenBSD: uvm_km.c,v 1.83 2010/07/02 23:12:38 thib Exp $ */ /* $NetBSD: uvm_km.c,v 1.42 2001/01/14 02:10:01 thorpej Exp $ */ /* @@ -795,7 +795,7 @@ uvm_km_thread(void *arg) /* Cleanup left-over pages (if any). */ for (; i < nitems(pg); i++) - uvm_km_free_wakeup(kernel_map, pg[i], PAGE_SIZE); + uvm_km_free(kernel_map, pg[i], PAGE_SIZE); } } #endif @@ -885,7 +885,7 @@ uvm_km_putpage(void *v) mtx_leave(&uvm_km_pages.mtx); if (freeva) - uvm_km_free_wakeup(kernel_map, va, PAGE_SIZE); + uvm_km_free(kernel_map, va, PAGE_SIZE); #endif /* !__HAVE_PMAP_DIRECT */ uvm_pagefree(pg); |