diff options
| author | Yuyang Du <[email protected]> | 2019-05-06 16:19:30 +0800 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2019-06-03 11:55:46 +0200 |
| commit | 77a806922cfdebcf3ae89d31a8b592a7f7fbe537 (patch) | |
| tree | fd339161dfc2d3078a6827f16dfda8ab5a217621 /tools/perf/scripts/python | |
| parent | c1661325597f68bc9e632c4fa9c86983d56fba4f (diff) | |
locking/lockdep: Avoid constant checks in __bfs by using offset reference
In search of a dependency in the lock graph, there is contant checks for
forward or backward search. Directly reference the field offset of the
struct that differentiates the type of search to avoid those checks.
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