Module Name: src
Committed By: snj
Date: Fri Jan 22 06:05:16 UTC 2010
Modified Files:
src/sys/uvm [matt-nb5-mips64]: uvm_pglist.c
Log Message:
Fix a couple comment typos.
To generate a diff of this commit:
cvs rdiff -u -r1.42.16.1 -r1.42.16.2 src/sys/uvm/uvm_pglist.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/uvm/uvm_pglist.c
diff -u src/sys/uvm/uvm_pglist.c:1.42.16.1 src/sys/uvm/uvm_pglist.c:1.42.16.2
--- src/sys/uvm/uvm_pglist.c:1.42.16.1 Fri Jan 22 05:17:32 2010
+++ src/sys/uvm/uvm_pglist.c Fri Jan 22 06:05:16 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_pglist.c,v 1.42.16.1 2010/01/22 05:17:32 matt Exp $ */
+/* $NetBSD: uvm_pglist.c,v 1.42.16.2 2010/01/22 06:05:16 snj Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_pglist.c,v 1.42.16.1 2010/01/22 05:17:32 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_pglist.c,v 1.42.16.2 2010/01/22 06:05:16 snj Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -203,7 +203,7 @@
/*
* We start at the end since if we find a non-free page, it
- * make no sense to ever test any pages before it since the
+ * makes no sense to ever test any pages before it since the
* conditions for this allocation could never be satisified.
*
* Also since we have "vetted" these free pages, if this
@@ -265,7 +265,7 @@
cnt = roundup(cnt, align);
/*
* The number of pages we can skip checking
- * (might be 0 is cnt > num).
+ * (might be 0 if cnt > num).
*/
skip = max(num - cnt, 0);
try += cnt;