diff options
author | Nikolay Borisov <[email protected]> | 2019-05-31 13:06:51 +0300 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2019-06-17 12:09:24 +0200 |
commit | 9ffbe8ac05dbb4ab4a4836a55a47fc6be945a38f (patch) | |
tree | b75a7823242b8595bec5059167168719643ac3b0 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | ba54f0c3f7c400a392c413d8ca21d3ada35f2584 (diff) |
locking/lockdep: Rename lockdep_assert_held_exclusive() -> lockdep_assert_held_write()
All callers of lockdep_assert_held_exclusive() use it to verify the
correct locking state of either a semaphore (ldisc_sem in tty,
mmap_sem for perf events, i_rwsem of inode for dax) or rwlock by
apparmor. Thus it makes sense to rename _exclusive to _write since
that's the semantics callers care. Additionally there is already
lockdep_assert_held_read(), which this new naming is more consistent with.
No functional changes.
Signed-off-by: Nikolay Borisov <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions