diff options
author | alc <alc@FreeBSD.org> | 2004-01-10 00:22:33 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2004-01-10 00:22:33 +0000 |
commit | cbae8dbd9738cadd0e6e9684351f175568f7dd1a (patch) | |
tree | f74bac972474fe752faa3fdab2837bfbaf9ce0ae /sys/vm | |
parent | ced43cb5e7d590052db072cdd9bebbaf40619298 (diff) | |
download | FreeBSD-src-cbae8dbd9738cadd0e6e9684351f175568f7dd1a.zip FreeBSD-src-cbae8dbd9738cadd0e6e9684351f175568f7dd1a.tar.gz |
Unmanage pages allocated by kmem_alloc(). (There is no point in having PV
entries for these pages.)
Diffstat (limited to 'sys/vm')
-rw-r--r-- | sys/vm/vm_kern.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/vm/vm_kern.c b/sys/vm/vm_kern.c index c076492..7bdcd72 100644 --- a/sys/vm/vm_kern.c +++ b/sys/vm/vm_kern.c @@ -206,6 +206,7 @@ kmem_alloc(map, size) pmap_zero_page(mem); mem->valid = VM_PAGE_BITS_ALL; vm_page_lock_queues(); + vm_page_unmanage(mem); vm_page_wakeup(mem); vm_page_unlock_queues(); } |