Subject: Re: pmap(9) tweak
To: Matt Thomas <matt@3am-software.com>
From: Jason R Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 08/10/2002 08:35:55
--9l24NVCWtSuIVIod
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Fri, Aug 09, 2002 at 11:13:22PM -0700, Matt Thomas wrote:
> Please note the fact that pmap_kenter_pa is not allowed to
> overwrite an existing mapping for that kernel virtual page.
Ok, here's an updated patch for the manual page.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>
--9l24NVCWtSuIVIod
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="pmap.9-diff"
Index: pmap.9
===================================================================
RCS file: /cvsroot/sharesrc/share/man/man9/pmap.9,v
retrieving revision 1.14
diff -c -r1.14 pmap.9
*** pmap.9 2002/04/01 17:30:02 1.14
--- pmap.9 2002/08/10 15:33:45
***************
*** 1,6 ****
.\" $NetBSD: pmap.9,v 1.14 2002/04/01 17:30:02 chs Exp $
.\"
! .\" Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
.\" All rights reserved.
.\"
.\" This code is derived from software contributed to The NetBSD Foundation
--- 1,6 ----
.\" $NetBSD: pmap.9,v 1.14 2002/04/01 17:30:02 chs Exp $
.\"
! .\" Copyright (c) 2000, 2001, 2002 The NetBSD Foundation, Inc.
.\" All rights reserved.
.\"
.\" This code is derived from software contributed to The NetBSD Foundation
***************
*** 558,564 ****
(such as
.Fn pmap_page_protect ) Ns .
Such mappings are also not included in the gathering of modified/referenced
! information about a page. Mappings created with
.Fn pmap_kenter_pa
may be removed only with a call to
.Fn pmap_kremove .
--- 558,575 ----
(such as
.Fn pmap_page_protect ) Ns .
Such mappings are also not included in the gathering of modified/referenced
! information about a page. Mappings entered with
! .Fn pmap_kenter_pa
! by machine-independent code
! .Em must not
! have execute permission, as the
! data structures required to track execute permission of a page may not
! be available to
! .Fn pmap_kenter_pa .
! Machine-independent code is not allowed to enter a mapping with
! .Fn pmap_kenter_pa
! at a virtual address for which a valid mapping already exists.
! Mappings created with
.Fn pmap_kenter_pa
may be removed only with a call to
.Fn pmap_kremove .
--9l24NVCWtSuIVIod--