diff options
author | dg <dg@FreeBSD.org> | 1995-02-21 01:22:48 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1995-02-21 01:22:48 +0000 |
commit | 23db83ee1f7ab7d09467a7f04325232334fb99c0 (patch) | |
tree | 19f8c738e880d18c60eb9001bbde4c61bb5b25f0 /sys/vm/vm_kern.c | |
parent | e48c88182869ce77a273e51b9a5952660ed5254c (diff) | |
download | FreeBSD-src-23db83ee1f7ab7d09467a7f04325232334fb99c0.zip FreeBSD-src-23db83ee1f7ab7d09467a7f04325232334fb99c0.tar.gz |
Deprecated remaining use of vm_deallocate. Deprecated vm_allocate_with_
pager(). Almost completely rewrote vm_mmap(); when John gets done with
the bottom half, it will be a complete rewrite. Deprecated most use of
vm_object_setpager(). Removed side effect of setting object persist
in vm_object_enter and moved this into the pager(s). A few other
cosmetic changes.
Diffstat (limited to 'sys/vm/vm_kern.c')
-rw-r--r-- | sys/vm/vm_kern.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/vm/vm_kern.c b/sys/vm/vm_kern.c index 6d3e7b2..96c4bce 100644 --- a/sys/vm/vm_kern.c +++ b/sys/vm/vm_kern.c @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_kern.c,v 1.9 1995/01/24 10:12:51 davidg Exp $ + * $Id: vm_kern.c,v 1.10 1995/02/02 09:08:33 davidg Exp $ */ /* @@ -185,7 +185,7 @@ kmem_alloc(map, size) } vm_page_zero_fill(mem); mem->flags &= ~PG_BUSY; - mem->valid |= VM_PAGE_BITS_ALL; + mem->valid = VM_PAGE_BITS_ALL; } vm_object_unlock(kernel_object); @@ -355,7 +355,7 @@ kmem_malloc(map, size, waitflag) vm_page_zero_fill(m); #endif m->flags &= ~PG_BUSY; - m->valid |= VM_PAGE_BITS_ALL; + m->valid = VM_PAGE_BITS_ALL; } vm_object_unlock(kmem_object); |