summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2013-12-27 22:05:51 +0000
committeradrian <adrian@FreeBSD.org>2013-12-27 22:05:51 +0000
commit899f5ffc89dcfeb346fc2400fe3ecdc07c1fddd7 (patch)
tree34b13f824658bc10b84a124a70337e137262e068 /sys/arm
parente125f95c9c257e17bc2724cf2f7bdb2a5e1f367c (diff)
downloadFreeBSD-src-899f5ffc89dcfeb346fc2400fe3ecdc07c1fddd7.zip
FreeBSD-src-899f5ffc89dcfeb346fc2400fe3ecdc07c1fddd7.tar.gz
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
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/arm/pmap-v6.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/arm/arm/pmap-v6.c b/sys/arm/arm/pmap-v6.c
index 017aefd..1805cc4 100644
--- a/sys/arm/arm/pmap-v6.c
+++ b/sys/arm/arm/pmap-v6.c
@@ -3087,13 +3087,8 @@ validate:
}
if (prot & VM_PROT_WRITE) {
- /*
- * Enable write permission if the access type
- * indicates write intention. Emulate modified
- * bit otherwise.
- */
- if ((access & VM_PROT_WRITE) != 0)
- npte &= ~(L2_APX);
+ /* Write enable */
+ npte &= ~(L2_APX);
if ((m->oflags & VPO_UNMANAGED) == 0) {
vm_page_aflag_set(m, PGA_WRITEABLE);
OpenPOWER on IntegriCloud