On Mon, Oct 10, 2016 at 02:21:41PM +0000, Ruslan Bukin wrote:
> Author: br
> Date: Mon Oct 10 14:21:40 2016
> New Revision: 306964
> URL: https://svnweb.freebsd.org/changeset/base/306964
> 
> Log:
>   Skip test on MIPS as we don't have shared page implemented yet.
>   
>   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 Mon Oct 10 14:21:21 2016        
> (r306963)
> +++ head/tests/sys/kern/kern_copyin.c Mon Oct 10 14:21:40 2016        
> (r306964)
> @@ -59,6 +59,11 @@ ATF_TC_BODY(kern_copyin, tc)
>  {
>       char template[] = "copyin.XXXXXX";
>  
> +#ifdef __mips__
> +     /* MIPS has no shared page implemented yet. */
> +     atf_tc_skip("Platform is not supported.");
> +#endif
> +
>       scratch_file = mkstemp(template);
>       ATF_REQUIRE(scratch_file != -1);
>       unlink(template);
Shared page does not have much to do with the test failure. The cause
is that 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.

>From the comment in mips/include/vmparam.h it is not clear whether the
test could be fixed by mapping a page at VM_MAXUSER_ADDRESS - PAGE_SIZE.
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to