]> bbs.cooldavid.org Git - net-next-2.6.git/commit
lockdep: Introduce print_shortest_lock_dependencies
authorMing Lei <tom.leiming@gmail.com>
Thu, 16 Jul 2009 13:44:29 +0000 (15:44 +0200)
committerPeter Zijlstra <a.p.zijlstra@chello.nl>
Fri, 24 Jul 2009 08:49:54 +0000 (10:49 +0200)
commit24208ca76707581a097c01a73fd63781e73d3404
tree46d2e44f11dd0b3dda782d6e4467c700f6d03149
parentd7aaba140a09b7a2295aec061629c880f088de3d
lockdep: Introduce print_shortest_lock_dependencies

Since the shortest lock dependencies' path may be obtained by BFS,
we print the shortest one by print_shortest_lock_dependencies().

Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1246201486-7308-7-git-send-email-tom.leiming@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/lockdep.c
kernel/lockdep_internals.h