Revert r252694 from stable/10 to fix instabilities seen with jemalloc + dhclient/sshd.

This is a direct commit to stable/10 as the VM code has changed
since the stable/10 branch.

PR:		kern/185046
This commit is contained in:
adrian 2013-12-27 22:05:51 +00:00
parent e125f95c9c
commit 899f5ffc89

View File

@ -3087,12 +3087,7 @@ pmap_enter_locked(pmap_t pmap, vm_offset_t va, vm_prot_t access, vm_page_t m,
} }
if (prot & VM_PROT_WRITE) { if (prot & VM_PROT_WRITE) {
/* /* Write enable */
* Enable write permission if the access type
* indicates write intention. Emulate modified
* bit otherwise.
*/
if ((access & VM_PROT_WRITE) != 0)
npte &= ~(L2_APX); npte &= ~(L2_APX);
if ((m->oflags & VPO_UNMANAGED) == 0) { if ((m->oflags & VPO_UNMANAGED) == 0) {