Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 362830
b: refs/heads/master
c: 199e371
h: refs/heads/master
v: v3
  • Loading branch information
Dave Jones authored and Ingo Molnar committed Apr 26, 2013
1 parent 6724cea commit 9506c75
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cc189d2513d1f45cde87a9043fe3be28559c7490
refs/heads/master: 199e371f59d31c828345b0d959d27d752827b517
5 changes: 5 additions & 0 deletions trunk/kernel/lockdep.c
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,7 @@ static int save_trace(struct stack_trace *trace)

printk("BUG: MAX_STACK_TRACE_ENTRIES too low!\n");
printk("turning off the locking correctness validator.\n");
printk("Attach output of /proc/lock_stat to bug report\n");
dump_stack();

return 0;
Expand Down Expand Up @@ -765,6 +766,7 @@ register_lock_class(struct lockdep_map *lock, unsigned int subclass, int force)

printk("BUG: MAX_LOCKDEP_KEYS too low!\n");
printk("turning off the locking correctness validator.\n");
printk("Attach output of /proc/lock_stat to bug report\n");
dump_stack();
return NULL;
}
Expand Down Expand Up @@ -836,6 +838,7 @@ static struct lock_list *alloc_list_entry(void)

printk("BUG: MAX_LOCKDEP_ENTRIES too low!\n");
printk("turning off the locking correctness validator.\n");
printk("Attach output of /proc/lock_stat to bug report\n");
dump_stack();
return NULL;
}
Expand Down Expand Up @@ -2050,6 +2053,7 @@ static inline int lookup_chain_cache(struct task_struct *curr,

printk("BUG: MAX_LOCKDEP_CHAINS too low!\n");
printk("turning off the locking correctness validator.\n");
printk("Attach output of /proc/lock_stat to bug report\n");
dump_stack();
return 0;
}
Expand Down Expand Up @@ -3191,6 +3195,7 @@ static int __lock_acquire(struct lockdep_map *lock, unsigned int subclass,
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");
printk("Attach output of /proc/lock_stat to bug report\n");

lockdep_print_held_locks(current);
debug_show_all_locks();
Expand Down

0 comments on commit 9506c75

Please sign in to comment.