Re: [PATCH 2/2] tracing/events/lockdep: move tracepoints within recursive protection

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Thursday, April 16, 2009 - 10:49 am

On Thu, 2009-04-16 at 13:38 -0400, Steven Rostedt wrote:


wouldn't you want to disable preemption/softirq/irqs in the tracer -- to
avoid such recursion to begin with (preemption isn't even strictly
needed if you put the recursion count in the task struct, as each task
has a new stack anyway).

I think having a recursion detection in place is far more valuable than
being able to recursively trace interrupts and the like, which are
exceedingly rare (on x86, and power and other arch with multiple
interrupt levels that each have their own stack can extend the recursion
levels too).


Hard never stopped us before, did it ;-)


I doubt it, it shouldn't happen as it stands -- so this patch only hides
the real issue.

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

Messages in current thread:
Re: [PATCH 2/2] tracing/events/lockdep: move tracepoints w ..., Peter Zijlstra, (Thu Apr 16, 10:49 am)
Re: [PATCH 2/2] tracing/events/lockdep: move tracepoints w ..., Mathieu Desnoyers, (Thu Apr 16, 11:22 am)
Re: [PATCH 2/2] tracing/events/lockdep: move tracepoints w ..., Mathieu Desnoyers, (Thu Apr 16, 11:29 am)
Re: [PATCH 2/2] tracing/events/lockdep: move tracepoints w ..., Mathieu Desnoyers, (Thu Apr 16, 9:52 pm)
[tip:core/urgent] lockdep: more robust lockdep_map init se ..., tip-bot for Peter Zi ..., (Fri Apr 17, 9:03 am)
[tip:tracing/core] tracing/events: perform function tracin ..., tip-bot for Steven R ..., (Fri Apr 17, 9:10 am)
[PATCH] x86 entry_64.S lockdep fix, Mathieu Desnoyers, (Fri Apr 17, 3:19 pm)
Re: [PATCH] x86 entry_64.S lockdep fix, Steven Rostedt, (Sat Apr 18, 6:54 am)
Re: [PATCH] x86 entry_64.S lockdep fix, Mathieu Desnoyers, (Sat Apr 18, 9:11 pm)
Re: [PATCH] x86 entry_64.S lockdep fix, Ingo Molnar, (Sun Apr 19, 2:10 am)