svn commit: r285048 - head/sys/arm64/arm64

Andrew Turner andrew at FreeBSD.org
Thu Jul 2 16:13:30 UTC 2015


Author: andrew
Date: Thu Jul  2 16:13:29 2015
New Revision: 285048
URL: https://svnweb.freebsd.org/changeset/base/285048

Log:
  Remove an unneeded define and old comment referencing amd64.

Modified:
  head/sys/arm64/arm64/pmap.c

Modified: head/sys/arm64/arm64/pmap.c
==============================================================================
--- head/sys/arm64/arm64/pmap.c	Thu Jul  2 15:26:40 2015	(r285047)
+++ head/sys/arm64/arm64/pmap.c	Thu Jul  2 16:13:29 2015	(r285048)
@@ -83,8 +83,6 @@
  * SUCH DAMAGE.
  */
 
-#define	AMD64_NPT_AWARE
-
 #include <sys/cdefs.h>
 __FBSDID("$FreeBSD$");
 
@@ -3040,14 +3038,6 @@ pmap_map_io_transient(vm_page_t page[], 
 	if (!needs_mapping)
 		return (FALSE);
 
-	/*
-	 * NB:  The sequence of updating a page table followed by accesses
-	 * to the corresponding pages used in the !DMAP case is subject to
-	 * the situation described in the "AMD64 Architecture Programmer's
-	 * Manual Volume 2: System Programming" rev. 3.23, "7.3.1 Special
-	 * Coherency Considerations".  Therefore, issuing the INVLPG right
-	 * after modifying the PTE bits is crucial.
-	 */
 	if (!can_fault)
 		sched_pin();
 	for (i = 0; i < count; i++) {


More information about the svn-src-head mailing list