diff options
author | Davidlohr Bueso <davidlohr@hp.com> | 2014-07-30 22:41:52 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2014-08-13 10:32:00 +0200 |
commit | aa9fc0c19bee0cbc152e0e06488095fb69229236 (patch) | |
tree | a3ba46f971a0bbf858bac7f6cd503801fe40bd15 /kernel/locking/mcs_spinlock.h | |
parent | locking/mutexes: Document quick lock release when unlocking (diff) | |
download | linux-aa9fc0c19bee0cbc152e0e06488095fb69229236.tar.xz linux-aa9fc0c19bee0cbc152e0e06488095fb69229236.zip |
locking/mcs: Remove obsolete comment
... as we clearly inline mcs_spin_lock() now.
Signed-off-by: Davidlohr Bueso <davidlohr@hp.com>
Acked-by: Jason Low <jason.low2@hp.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Cc: aswin@hp.com
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/1406752916-3341-3-git-send-email-davidlohr@hp.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/locking/mcs_spinlock.h')
-rw-r--r-- | kernel/locking/mcs_spinlock.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/kernel/locking/mcs_spinlock.h b/kernel/locking/mcs_spinlock.h index 23e89c5930e9..4d60986fcbee 100644 --- a/kernel/locking/mcs_spinlock.h +++ b/kernel/locking/mcs_spinlock.h @@ -56,9 +56,6 @@ do { \ * If the lock has already been acquired, then this will proceed to spin * on this node->locked until the previous lock holder sets the node->locked * in mcs_spin_unlock(). - * - * We don't inline mcs_spin_lock() so that perf can correctly account for the - * time spent in this lock function. */ static inline void mcs_spin_lock(struct mcs_spinlock **lock, struct mcs_spinlock *node) |