Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm Update a comment in uao_flush().



details:   https://anonhg.NetBSD.org/src/rev/7b07c26d8f95
branches:  trunk
changeset: 474459:7b07c26d8f95
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Jul 07 05:32:26 1999 +0000

description:
Update a comment in uao_flush().

diffstat:

 sys/uvm/uvm_aobj.c |  12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diffs (26 lines):

diff -r d24c1bc40d68 -r 7b07c26d8f95 sys/uvm/uvm_aobj.c
--- a/sys/uvm/uvm_aobj.c        Wed Jul 07 05:31:40 1999 +0000
+++ b/sys/uvm/uvm_aobj.c        Wed Jul 07 05:32:26 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_aobj.c,v 1.20 1999/05/25 00:09:00 thorpej Exp $    */
+/*     $NetBSD: uvm_aobj.c,v 1.21 1999/07/07 05:32:26 thorpej Exp $    */
 
 /*
  * Copyright (c) 1998 Chuck Silvers, Charles D. Cranor and
@@ -722,9 +722,13 @@
         */
        /*
         * XXX
-        * deal with PGO_DEACTIVATE (for madvise(MADV_SEQUENTIAL))
-        * and PGO_FREE (for msync(MSINVALIDATE))
-        */
+        * Deal with:
+        *
+        *      PGO_DEACTIVATE  for sequential access, via uvm_fault(), and
+        *                      for MADV_DONTNEED
+        *
+        *      PGO_FREE        for MADV_FREE and MSINVALIDATE
+        */
        return TRUE;
 }
 



Home | Main Index | Thread Index | Old Index