Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man9 correct and clarify the previous revision.



details:   https://anonhg.NetBSD.org/src/rev/b0e9b78e085c
branches:  trunk
changeset: 524889:b0e9b78e085c
user:      chs <chs%NetBSD.org@localhost>
date:      Mon Apr 01 17:30:02 2002 +0000

description:
correct and clarify the previous revision.

diffstat:

 share/man/man9/pmap.9 |  24 +++++++++++-------------
 1 files changed, 11 insertions(+), 13 deletions(-)

diffs (39 lines):

diff -r 2d550fe916ac -r b0e9b78e085c share/man/man9/pmap.9
--- a/share/man/man9/pmap.9     Mon Apr 01 16:50:08 2002 +0000
+++ b/share/man/man9/pmap.9     Mon Apr 01 17:30:02 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: pmap.9,v 1.13 2002/03/28 18:22:20 eeh Exp $
+.\"    $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.
@@ -308,19 +308,17 @@
 .Fn pmap_clear_modify
 and
 .Fn pmap_clear_reference
-functions.  These functions also need to do whatever is necessary
-to restart the collection of state information for that page, 
-including possibly calling
-.Fn pmap_page_protect
-if the 
+functions.  These functions must also change any internal state
+necessary to detect the page being modified or referenced again
+after the modified or referenced state is cleared.  (Prior to NetBSD 1.6,
 .Nm
-is doing modified/referenced emulation.
-.\"
-.\" Resetting ref/mod gathering inside of pmap_clear_modify() and
-.\" pmap_clear_reference began with UBC.  Pre-UBC UVM required the
-.\" opposite behavior or it would discover it modified a page trying
-.\" to write it out and get very confused.
-.\"
+implementations could get away without this because UVM (and Mach VM
+before that) always called
+.Fn pmap_page_protect
+before clearing the modified or referenced state, but UVM has been changed
+to not do this anymore, so all
+.Nm
+implementations must now handle this.)
 .Ss STATISTICS
 The
 .Nm



Home | Main Index | Thread Index | Old Index