aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2009-07-16 15:44:29 +0200
committerPeter Zijlstra <[email protected]>2009-07-24 10:49:46 +0200
commitd588e46155e9c51217b9840db1e94a0f594c1af2 (patch)
tree0ede7d7d8338f8db15d8c690c46a0173196d7bac /tools/perf/scripts/python
parentc94aa5ca3088018d2a7a9bd3258aefffe29df265 (diff)
lockdep: Improve implementation of BFS
1,replace %MAX_CIRCULAR_QUE_SIZE with &(MAX_CIRCULAR_QUE_SIZE-1) since we define MAX_CIRCULAR_QUE_SIZE as power of 2; 2,use bitmap to mark if a lock is accessed in BFS in order to clear it quickly, because we may search a graph many times. Signed-off-by: Ming Lei <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions