aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorJarek Poplawski <[email protected]>2007-03-22 00:11:28 -0800
committerLinus Torvalds <[email protected]>2007-03-22 19:39:06 -0700
commit9c35dd7f8bda1849dcb430be99325504221048df (patch)
tree0c1d8eef5af9e21bf9c552f13646710f57b97f23 /include/linux
parentb43376927ab0f7b64c4fb304568ecfaea10446e2 (diff)
[PATCH] lockdep: debug_show_all_locks & debug_show_held_locks vs. debug_locks
lockdep's data shouldn't be used when debug_locks == 0 because it's not updated after this, so it's more misleading than helpful. PS: probably lockdep's current-> fields should be reset after it turns debug_locks off: so, after printing a bug report, but before return from exported functions, but there are really a lot of these possibilities (e.g. after DEBUG_LOCKS_WARN_ON), so, something could be missed. (Of course direct use of this fields isn't recommended either.) Reported-by: Folkert van Heusden <[email protected]> Inspired-by: Oleg Nesterov <[email protected]> Signed-off-by: Jarek Poplawski <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Cc: Ingo Molnar <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions