|
@@ -388,12 +388,10 @@ __mutex_lock_common(struct mutex *lock, long state, unsigned int subclass,
|
|
|
/*
|
|
|
* Optimistic spinning.
|
|
|
*
|
|
|
- * We try to spin for acquisition when we find that there are no
|
|
|
- * pending waiters and the lock owner is currently running on a
|
|
|
- * (different) CPU.
|
|
|
- *
|
|
|
- * The rationale is that if the lock owner is running, it is likely to
|
|
|
- * release the lock soon.
|
|
|
+ * We try to spin for acquisition when we find that the lock owner
|
|
|
+ * is currently running on a (different) CPU and while we don't
|
|
|
+ * need to reschedule. The rationale is that if the lock owner is
|
|
|
+ * running, it is likely to release the lock soon.
|
|
|
*
|
|
|
* Since this needs the lock owner, and this mutex implementation
|
|
|
* doesn't track the owner atomically in the lock field, we need to
|