Re: [PATCH 1/2] ftrace: disable tracing on resize

From
Steven Rostedt <rostedt@goodmis.org>
Date
2008-11-13 00:03:38
Also in
lkml
Reply to
Pekka Paalanen, 2008-11-12
On Wed, 12 Nov 2008, Pekka Paalanen wrote:
On Mon, 10 Nov 2008 22:18:19 -0500 (EST)
Steven Rostedt [off-list ref] wrote:
quoted
Pekka,

I forgot to add you to the Cc list. Could you test this patch to see if it 
fixes the bug you reported. It fixed a bug I was able to reproduce, but I 
was never able to reproduce the exact same bug you have seen.
Thanks, Steve.

I didn't have time to try it myself yet, but a kind soul tried it for me.
He used 2.6.28-rc4 and was immediately able to trigger the bug by just:
cd /debug/tracing
echo 0 > tracing_enabled
echo 200 > trace_entries

Then he applied the patch you referred to, and the bug is still present.
He has a 32-bit x86 amd system, and I'm on x86_64.

I don't know why you couldn't reproduce it, maybe you have all the tracers
enabled in the kernel config, when we only have MMIOTRACE.
After disabling all other tracers, you are right. This sequence crashes.

I'll look into it, and I should have a patch sometime tonight.

-- Steve
Thread (9 messages) 9 messages, 3 authors, last reply 2008-11-13
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help