Date: Sat, 29 May 2010 18:26:44 +0000 (UTC) From: Alan Cox <alc@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r208646 - head/sys/ia64/ia64 Message-ID: <201005291826.o4TIQisq093529@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005291826.o4TIQisq093529>