Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356284
b: refs/heads/master
c: c054060
h: refs/heads/master
v: v3
  • Loading branch information
Ben Greear authored and Ingo Molnar committed Feb 19, 2013
1 parent 91576ae commit 2fb306f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ce6711f3d196f09ca0ed29a24dfad42d83912b20
refs/heads/master: c0540606837af79b2ae101e5e7b2206e3844d150
7 changes: 6 additions & 1 deletion trunk/kernel/lockdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -3190,9 +3190,14 @@ static int __lock_acquire(struct lockdep_map *lock, unsigned int subclass,
#endif
if (unlikely(curr->lockdep_depth >= MAX_LOCK_DEPTH)) {
debug_locks_off();
printk("BUG: MAX_LOCK_DEPTH too low!\n");
printk("BUG: MAX_LOCK_DEPTH too low, depth: %i max: %lu!\n",
curr->lockdep_depth, MAX_LOCK_DEPTH);
printk("turning off the locking correctness validator.\n");

lockdep_print_held_locks(current);
debug_show_all_locks();
dump_stack();

return 0;
}

Expand Down

0 comments on commit 2fb306f

Please sign in to comment.