summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_lock.c
diff options
context:
space:
mode:
authorattilio <attilio@FreeBSD.org>2010-01-07 01:24:09 +0000
committerattilio <attilio@FreeBSD.org>2010-01-07 01:24:09 +0000
commita576a41d1d2af3767592db06548ae6fbbfd657ad (patch)
tree0d3c7ae9d8e5bd9c6903181a361e96b6cb6bc83d /sys/kern/kern_lock.c
parent80498ec26cbddc4754bb64a55078d6364878a881 (diff)
downloadFreeBSD-src-a576a41d1d2af3767592db06548ae6fbbfd657ad.zip
FreeBSD-src-a576a41d1d2af3767592db06548ae6fbbfd657ad.tar.gz
Fix typos.
Diffstat (limited to 'sys/kern/kern_lock.c')
-rw-r--r--sys/kern/kern_lock.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/kern/kern_lock.c b/sys/kern/kern_lock.c
index 0d0444f..18bbf9a 100644
--- a/sys/kern/kern_lock.c
+++ b/sys/kern/kern_lock.c
@@ -280,8 +280,8 @@ wakeupshlk(struct lock *lk, const char *file, int line)
* 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 flags, struct lock_object *ilk,
* 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 flags, struct lock_object *ilk,
* 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) {
OpenPOWER on IntegriCloud