svn commit: r259963 - stable/10/sys/arm/arm

Adrian Chadd adrian at FreeBSD.org
Fri Dec 27 22:05:52 UTC 2013


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);


More information about the svn-src-stable-10 mailing list