Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm some English fixes from Soren Jacobsen.



details:   https://anonhg.NetBSD.org/src/rev/1b07e848bdad
branches:  trunk
changeset: 558152:1b07e848bdad
user:      yamt <yamt%NetBSD.org@localhost>
date:      Thu Jan 29 12:07:29 2004 +0000

description:
some English fixes from Soren Jacobsen.

diffstat:

 sys/uvm/uvm_map.c |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r ad5cdea058b4 -r 1b07e848bdad sys/uvm/uvm_map.c
--- a/sys/uvm/uvm_map.c Thu Jan 29 12:06:02 2004 +0000
+++ b/sys/uvm/uvm_map.c Thu Jan 29 12:07:29 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_map.c,v 1.153 2004/01/29 12:06:02 yamt Exp $       */
+/*     $NetBSD: uvm_map.c,v 1.154 2004/01/29 12:07:29 yamt Exp $       */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -71,7 +71,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.153 2004/01/29 12:06:02 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_map.c,v 1.154 2004/01/29 12:07:29 yamt Exp $");
 
 #include "opt_ddb.h"
 #include "opt_uvmhist.h"
@@ -527,7 +527,7 @@
        /*
         * initialize the global lock for kernel map entry.
         *
-        * XXX is it worth to have per-map lock instead?
+        * XXX is it worth it to have per-map locks instead?
         */
 
        simple_lock_init(&uvm.kentry_lock);
@@ -698,7 +698,7 @@
         * for pager_map, allocate the new entry first to avoid sleeping
         * for memory while we have the map locked.
         *
-        * besides, because we allocates entries for in-kernel maps
+        * because we allocate entries for in-kernel maps
         * a bit differently (cf. uvm_kmapent_alloc/free), we need to
         * allocate them before locking the map.
         */
@@ -1155,7 +1155,7 @@
                        map->first_free = new_entry;
 
                /*
-                * note the entry was consumed.
+                * note that the entry was consumed.
                 */
                *new_entryp = NULL;
        }
@@ -4032,7 +4032,7 @@
        splx(s);
 
        /*
-        * return second entry.
+        * return the second entry.
         */
 
        entry = &ukh->ukh_entries[1];



Home | Main Index | Thread Index | Old Index