From 2f586e1b2c1c82c8d59199e6d7f31b1e65e3428f Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Sun, 24 Jan 1999 07:06:52 +0000 Subject: [PATCH] Undo last commit - not a bug, just duplicate code. PG_MAPPED and PG_WRITEABLE are already cleared by vm_page_protect(). --- sys/vm/vm_page.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index c4531d87d0f5..d9bf8852964c 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)vm_page.c 7.4 (Berkeley) 5/7/91 - * $Id: vm_page.c,v 1.120 1999/01/24 02:29:26 dillon Exp $ + * $Id: vm_page.c,v 1.121 1999/01/24 06:00:31 dillon Exp $ */ /* @@ -1555,7 +1555,6 @@ vm_page_cache(m) */ vm_page_protect(m, VM_PROT_NONE); - vm_page_flag_clear(m, PG_WRITEABLE | PG_MAPPED); #if !defined(MAX_PERF) if (m->dirty != 0) { panic("vm_page_cache: caching a dirty page, pindex: %d", m->pindex);