diff options
| author | Yuyang Du <[email protected]> | 2019-05-06 16:19:19 +0800 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2019-06-03 11:55:35 +0200 |
| commit | c52478f4f38ace598475413a08dba9b9fd827eaf (patch) | |
| tree | 7218b89f958ba7d764a6de1f3b81b43bfa6d75bd /tools/perf/scripts/python | |
| parent | c01fbbc83f42748b3ed094497933601e6c9e0a03 (diff) | |
locking/lockdep: Adjust lock usage bit character checks
The lock usage bit characters are defined and determined with tricks.
Add some explanation to make it a bit clearer, then adjust the logic to
check the usage, which optimizes the code a bit.
No functional change.
Signed-off-by: Yuyang Du <[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]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions