svn commit: r201710 - head/sys/kern

Attilio Rao attilio at FreeBSD.org
Thu Jan 7 01:24:09 UTC 2010


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) {


More information about the svn-src-head mailing list