From ea3c5aeb4aa5cc6e16950854b7db9f91eddaa062 Mon Sep 17 00:00:00 2001 From: dg Date: Tue, 21 Feb 1995 01:13:05 +0000 Subject: [PATCH] Set page alloced for map entries as valid. --- sys/vm/vm_map.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/vm/vm_map.c b/sys/vm/vm_map.c index 7083ee968a31..04cc88cae088 100644 --- a/sys/vm/vm_map.c +++ b/sys/vm/vm_map.c @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_map.c,v 1.13 1995/02/02 09:08:40 davidg Exp $ + * $Id: vm_map.c,v 1.14 1995/02/14 04:00:17 davidg Exp $ */ /* @@ -328,6 +328,7 @@ vm_map_entry_create(map) newentries = (NBPG / sizeof(struct vm_map_entry)); vm_page_wire(m); m->flags &= ~PG_BUSY; + m->valid = VM_PAGE_BITS_ALL; pmap_enter(vm_map_pmap(kmem_map), mapvm, VM_PAGE_TO_PHYS(m), VM_PROT_DEFAULT, 1);