Re: svn commit: r329282 - head/share/man/man9

2018-02-15 Thread Konstantin Belousov
On Wed, Feb 14, 2018 at 11:47:04PM +, 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
___
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"


svn commit: r329282 - head/share/man/man9

2018-02-14 Thread Conrad Meyer
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.
 .Pp
 The
 .Fn pmap_qremove
___
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"