Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Jan 2010 01:24:09 +0000 (UTC)
From:      Attilio Rao <attilio@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r201710 - head/sys/kern
Message-ID:  <201001070124.o071O9XX099465@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: attilio
Date: Thu Jan  7 01:24:09 2010
New Revision: 201710
URL: http://svn.freebsd.org/changeset/base/201710

Log:
  Fix typos.

Modified:
  head/sys/kern/kern_lock.c

Modified: head/sys/kern/kern_lock.c
==============================================================================
--- head/sys/kern/kern_lock.c	Thu Jan  7 01:19:01 2010	(r201709)
+++ head/sys/kern/kern_lock.c	Thu Jan  7 01:24:09 2010	(r201710)
@@ -280,8 +280,8 @@ wakeupshlk(struct lock *lk, const char *
 		 * Please note that lk_exslpfail count may be lying about
 		 * the real number of waiters with the LK_SLEEPFAIL flag on
 		 * because they may be used in conjuction with interruptible
-		 * sleeps so lk_exslpfail is consider as a 'upper limit'
-		 * bound, considering the edge cases.
+		 * sleeps so lk_exslpfail might be considered an 'upper limit'
+		 * bound, including the edge cases.
 		 */
 		realexslp = sleepq_sleepcnt(&lk->lock_object,
 		    SQ_EXCLUSIVE_QUEUE);
@@ -952,8 +952,8 @@ __lockmgr_args(struct lock *lk, u_int fl
 			 * about the real number of waiters with the
 			 * LK_SLEEPFAIL flag on because they may be used in
 			 * conjuction with interruptible sleeps so
-			 * lk_exslpfail is consider as a 'upper limit' bound,
-			 * considering the edge cases.
+			 * lk_exslpfail might be considered an 'upper limit'
+			 * bound, including the edge cases.
 			 */
 			MPASS((x & LK_EXCLUSIVE_SPINNERS) == 0);
 			realexslp = sleepq_sleepcnt(&lk->lock_object,
@@ -1061,8 +1061,8 @@ __lockmgr_args(struct lock *lk, u_int fl
 				 * lying about the real number of waiters with
 				 * the LK_SLEEPFAIL flag on because they may
 				 * be used in conjuction with interruptible
-				 * sleeps so lk_exslpfail is consider as a
-				 * 'upper limit' bound, considering the edge
+				 * sleeps so lk_exslpfail might be considered
+				 * an 'upper limit' bound, including the edge
 				 * cases.
 				 */
 				if (v & LK_EXCLUSIVE_WAITERS) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001070124.o071O9XX099465>