diff options
author | Waiman Long <longman@redhat.com> | 2018-10-02 22:19:18 +0200 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-10-03 08:46:03 +0200 |
commit | ce52a18db45842f5b992851a552bd7f6acb2241b (patch) | |
tree | d4a2faed3b80b59485c8621bec27ed43432d7475 /kernel/locking/rtmutex.c | |
parent | locking/lockdep: Eliminate redundant IRQs check in __lock_acquire() (diff) | |
download | linux-ce52a18db45842f5b992851a552bd7f6acb2241b.tar.xz linux-ce52a18db45842f5b992851a552bd7f6acb2241b.zip |
locking/lockdep: Add a faster path in __lock_release()
When __lock_release() is called, the most likely unlock scenario is
on the innermost lock in the chain. In this case, we can skip some of
the checks and provide a faster path to completion.
Signed-off-by: Waiman Long <longman@redhat.com>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Deacon <will.deacon@arm.com>
Link: http://lkml.kernel.org/r/1538511560-10090-4-git-send-email-longman@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'kernel/locking/rtmutex.c')
0 files changed, 0 insertions, 0 deletions