svn commit: r307554 - head/tests/sys/kern

Ruslan Bukin br at FreeBSD.org
Tue Oct 18 10:20:59 UTC 2016


Author: br
Date: Tue Oct 18 10:20:58 2016
New Revision: 307554
URL: https://svnweb.freebsd.org/changeset/base/307554

Log:
  Fix comment. We have different VM layout on MIPS, so test is skipped.
  
  Requested by:	kib
  Sponsored by:	DARPA, AFRL
  Sponsored by:	HEIF5

Modified:
  head/tests/sys/kern/kern_copyin.c

Modified: head/tests/sys/kern/kern_copyin.c
==============================================================================
--- head/tests/sys/kern/kern_copyin.c	Tue Oct 18 10:13:54 2016	(r307553)
+++ head/tests/sys/kern/kern_copyin.c	Tue Oct 18 10:20:58 2016	(r307554)
@@ -60,7 +60,12 @@ ATF_TC_BODY(kern_copyin, tc)
 	char template[] = "copyin.XXXXXX";
 
 #ifdef __mips__
-	/* MIPS has no shared page implemented yet. */
+	/*
+	 * MIPS has different VM layout: the UVA map on mips ends the
+	 * highest mapped entry at the VM_MAXUSER_ADDRESS - PAGE_SIZE,
+	 * while all other arches map either stack or shared page up
+	 * to the VM_MAXUSER_ADDRESS.
+	 */
 	atf_tc_skip("Platform is not supported.");
 #endif
 


More information about the svn-src-all mailing list