Re: Linux 2.6.31

From: Linus Torvalds
Date: Wed Sep 09 2009 - 19:47:43 EST




On Thu, 10 Sep 2009, Paul Mackerras wrote:

> Linus Torvalds writes:
>
> > There's also a fair chunk of new debugging/peformance counter stuff:
> > memory leak detection ("kmemleak"), memory usage checking ("kmemcheck")
> > and performance counters ("perf_counter"). Those new debugging features
> > are not likely usable under any real load, but are good for finding kernel
> > bugs at a huge performance cost.
>
> Just to be clear, that last sentence applies to kmemleak and
> kmemcheck, but not perf_counters, right?

Yes. The perfcounter thing is certainly useful under real loads.

But both kmemleak and kmemcheck will probably be pretty unusable if you
try to do anything that would stress the machine normally. Kind of like
DEBUG_PAGEALLOC, just much worse.

Linus
--
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/