Re: [GIT PULL] kmemcheck updates for -tip

From: Vegard Nossum
Date: Sun Feb 22 2009 - 12:06:44 EST


2009/2/22 Frederic Weisbecker <fweisbec@xxxxxxxxx>:
> BTW, I just tested kmemcheck (without these fixes pulled) and encountered some
> troubles with the function graph tracer which hangs during the self tests.
> As well as a message from hrtimer which tells its interrupt is too slow.
>
> Well, I'm pulling latest -tip and will see.

Hm, yes. kmemcheck doesn't work well with ftrace -- you'd have to
disable tracing (i.e. removing the -pg option to gcc) for at least the
x86 page fault handler and the kmemcheck code. I had a patch to fix
this a while ago, but it's not very nice to exclude page faults from
ftrace.

I should make it depend on !FTRACE for now to prevent more
head-scratching from others. Thanks for testing!


Vegard

--
"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
-- E. W. Dijkstra, EWD1036
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/