From owner-svn-src-head@freebsd.org Thu Feb 15 11:39:59 2018 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C1B53F1589B; Thu, 15 Feb 2018 11:39:59 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2992E7289E; Thu, 15 Feb 2018 11:39:59 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from tom.home (kib@localhost [127.0.0.1]) by kib.kiev.ua (8.15.2/8.15.2) with ESMTPS id w1FBdpGZ053041 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 15 Feb 2018 13:39:54 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.10.3 kib.kiev.ua w1FBdpGZ053041 Received: (from kostik@localhost) by tom.home (8.15.2/8.15.2/Submit) id w1FBdpkK053040; Thu, 15 Feb 2018 13:39:51 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Thu, 15 Feb 2018 13:39:51 +0200 From: Konstantin Belousov To: Conrad Meyer 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> References: <201802142347.w1ENl4In007623@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201802142347.w1ENl4In007623@repo.freebsd.org> User-Agent: Mutt/1.9.3 (2018-01-21) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tom.home X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Feb 2018 11:39:59 -0000 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