Messages in this thread | | | Subject | Re: Question on lockdep and MAX_LOCK_DEPTH | From | Steven Rostedt <> | Date | Wed, 06 Feb 2013 11:46:44 -0500 |
| |
On Wed, 2013-02-06 at 17:39 +0100, Ingo Molnar wrote: > * Steven Rostedt <rostedt@goodmis.org> wrote:
> Wondering whether we could improve lockdep to detect 'excessive' > lock nesting and treat it as a bug - the 'ran out of lockdep > entries' assert might be too detached and it might even trigger > in innocent, low lesting count contexts.
Probably adding a call to lockdep_printk_held_locks(current) when it triggers, would be a good idea.
-- Steve
| |