summaryrefslogtreecommitdiff
path: root/sys/vm/vm_glue.c
diff options
context:
space:
mode:
authorAlan Cox <alc@FreeBSD.org>2002-07-31 18:46:47 +0000
committerAlan Cox <alc@FreeBSD.org>2002-07-31 18:46:47 +0000
commit239b5b9707e056e91f3822c1d0d00c8d156209c6 (patch)
tree3c4a9d1cb111e7e2e2d922cb319eee4604c84a55 /sys/vm/vm_glue.c
parentcc6666dc2155534bf985c012525ac17e39b921bb (diff)
Notes
Diffstat (limited to 'sys/vm/vm_glue.c')
-rw-r--r--sys/vm/vm_glue.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/vm/vm_glue.c b/sys/vm/vm_glue.c
index ff8b3df50853..49e1dd73f59f 100644
--- a/sys/vm/vm_glue.c
+++ b/sys/vm/vm_glue.c
@@ -236,7 +236,6 @@ vm_proc_new(struct proc *p)
vm_page_wakeup(m);
vm_page_flag_clear(m, PG_ZERO);
- vm_page_flag_set(m, PG_MAPPED | PG_WRITEABLE);
m->valid = VM_PAGE_BITS_ALL;
}
@@ -328,7 +327,6 @@ vm_proc_swapin(struct proc *p)
m->valid = VM_PAGE_BITS_ALL;
vm_page_wire(m);
vm_page_wakeup(m);
- vm_page_flag_set(m, PG_MAPPED | PG_WRITEABLE);
}
vm_page_unlock_queues();
up = (vm_offset_t)p->p_uarea;