Re: [PATCH v3] lockdep: Make MAX_STACK_TRACE_ENTRIES configurable.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Wednesday, April 21, 2010 - 5:03 am

On Wed, 2010-04-21 at 05:47 -0600, Gregory Haskins wrote:

Right, so all I'm wanting to know if its a symptom of some funny or an
actual depletion, in the latter case I think the best solution is to
simply increase the number. In the former case we should of course fix
the real issue instead of making it disappear.

So one case I remember is where some code managed to create 1k classes
where 1 would have sufficed, this resulted in at least 1k extra stack
traces to be stored, consuming vast amounts of stack_entries.

So please, if you can reproduce, look at where these entries are going,
lots of classes with the same name are a good hint that something is
fishy. Classes with more than 13 (4*nr_states + 1) stacks should also
never happen, etc..

Is this specific to -RT, or do we see it without as well? If so, what in
-RT grows this? Are we creating a class per rt_mutex spinlock or
something silly like that?

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH v3] lockdep: Make MAX_STACK_TRACE_ENTRIES confi ..., Peter Zijlstra, (Wed Apr 21, 5:03 am)
Re: [PATCH v3] lockdep: Make MAX_STACK_TRACE_ENTRIES confi ..., Sven-Thorsten Dietrich, (Wed Apr 21, 7:53 am)