Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Dec 2013 22:05:51 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r259963 - stable/10/sys/arm/arm
Message-ID:  <201312272205.rBRM5pIf043882@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Fri Dec 27 22:05:51 2013
New Revision: 259963
URL: http://svnweb.freebsd.org/changeset/base/259963

Log:
  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

Modified:
  stable/10/sys/arm/arm/pmap-v6.c

Modified: stable/10/sys/arm/arm/pmap-v6.c
==============================================================================
--- stable/10/sys/arm/arm/pmap-v6.c	Fri Dec 27 22:00:22 2013	(r259962)
+++ stable/10/sys/arm/arm/pmap-v6.c	Fri Dec 27 22:05:51 2013	(r259963)
@@ -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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312272205.rBRM5pIf043882>