svn commit: r208646 - head/sys/ia64/ia64
Alan Cox
alc at FreeBSD.org
Sat May 29 18:26:44 UTC 2010
Author: alc
Date: Sat May 29 18:26:44 2010
New Revision: 208646
URL: http://svn.freebsd.org/changeset/base/208646
Log:
Don't set PG_WRITEABLE in pmap_enter() unless the page is managed.
Modified:
head/sys/ia64/ia64/pmap.c
Modified: head/sys/ia64/ia64/pmap.c
==============================================================================
--- head/sys/ia64/ia64/pmap.c Sat May 29 17:10:45 2010 (r208645)
+++ head/sys/ia64/ia64/pmap.c Sat May 29 18:26:44 2010 (r208646)
@@ -1595,7 +1595,7 @@ validate:
if (icache_inval)
ia64_sync_icache(va, PAGE_SIZE);
- if ((prot & VM_PROT_WRITE) != 0)
+ if ((prot & VM_PROT_WRITE) != 0 && managed)
vm_page_flag_set(m, PG_WRITEABLE);
vm_page_unlock_queues();
pmap_switch(oldpmap);
More information about the svn-src-all
mailing list