diff options
author | Jason Low | 2014-06-11 20:37:20 +0200 |
---|---|---|
committer | Ingo Molnar | 2014-07-05 11:25:41 +0200 |
commit | 0c3c0f0d6e56422cef60a33726d062e9923005c3 (patch) | |
tree | 612fd6fff48435b2a49f8e2c26a08a576fdb2206 /mm/memcontrol.c | |
parent | rtmutex: Make the rtmutex tester depend on BROKEN (diff) | |
download | kernel-qcow2-linux-0c3c0f0d6e56422cef60a33726d062e9923005c3.tar.gz kernel-qcow2-linux-0c3c0f0d6e56422cef60a33726d062e9923005c3.tar.xz kernel-qcow2-linux-0c3c0f0d6e56422cef60a33726d062e9923005c3.zip |
locking/mutexes: Correct documentation on mutex optimistic spinning
The mutex optimistic spinning documentation states that we spin for
acquisition when we find that there are no pending waiters. However,
in actuality, whether or not there are waiters for the mutex doesn't
determine if we will spin for it.
This patch removes that statement and also adds a comment which
mentions that we spin for the mutex while we don't need to reschedule.
Signed-off-by: Jason Low <jason.low2@hp.com>
Acked-by: Davidlohr Bueso <davidlohr@hp.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: akpm@linux-foundation.org
Cc: tim.c.chen@linux.intel.com
Cc: paulmck@linux.vnet.ibm.com
Cc: rostedt@goodmis.org
Cc: Waiman.Long@hp.com
Cc: scott.norton@hp.com
Cc: aswin@hp.com
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/1402511843-4721-2-git-send-email-jason.low2@hp.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'mm/memcontrol.c')
0 files changed, 0 insertions, 0 deletions