Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Feb 2018 13:39:51 +0200
From:      Konstantin Belousov <kostikbel@gmail.com>
To:        Conrad Meyer <cem@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r329282 - head/share/man/man9
Message-ID:  <20180215113951.GH94212@kib.kiev.ua>
In-Reply-To: <201802142347.w1ENl4In007623@repo.freebsd.org>
References:  <201802142347.w1ENl4In007623@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 14, 2018 at 11:47:04PM +0000, Conrad Meyer wrote:
> Author: cem
> Date: Wed Feb 14 23:47:04 2018
> New Revision: 329282
> URL: https://svnweb.freebsd.org/changeset/base/329282
> 
> Log:
>   pmap_qenter.9: Document API NX mapping
>   
>   A follow-up to r329281.
>   
>   Sponsored by:	Dell EMC Isilon
> 
> Modified:
>   head/share/man/man9/pmap_qenter.9
> 
> Modified: head/share/man/man9/pmap_qenter.9
> ==============================================================================
> --- head/share/man/man9/pmap_qenter.9	Wed Feb 14 23:35:47 2018	(r329281)
> +++ head/share/man/man9/pmap_qenter.9	Wed Feb 14 23:47:04 2018	(r329282)
> @@ -25,7 +25,7 @@
>  .\"
>  .\" $FreeBSD$
>  .\"
> -.Dd July 21, 2003
> +.Dd February 14, 2018
>  .Dt PMAP_QENTER 9
>  .Os
>  .Sh NAME
> @@ -50,6 +50,7 @@ pointers to wired pages
>  and enters each of these pages into the kernel virtual address (KVA) space,
>  beginning at the address
>  .Fa sva .
> +The pages are mapped non-executable.
I think that this is too strong statement. It is not even true on i386
without PAE.

Also, the man page describes the interface between pmap and MI VM, so
it should explain the difference between required in allowed. In this
case, it is acceptable for an architecture to implement pmap_qenter() by
creating non-exec mappings, but the architecture is not required to do
that.

>  .Pp
>  The
>  .Fn pmap_qremove



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