Re: kmemleak suggestion (long message)

From: Ingo Molnar
Date: Fri Jun 26 2009 - 04:43:08 EST



* Pekka Enberg <penberg@xxxxxxxxxxxxxx> wrote:

> On Fri, 2009-06-26 at 09:25 +0100, Catalin Marinas wrote:
>
> > BTW, this was questioned in the past as well - do we still need
> > the automatic scanning from a kernel thread? Can a user cron job
> > just read the kmemleak file?
>
> I think the kernel thread makes sense so that we get an early
> warning in syslog. Ingo, what's your take on this from autoqa
> point of view?

it would be nice to have more relevant messages. Many of the
messages seem false positives, right? So it would be nice to
constrain kmemleak into a mode of operation that makes its
backtraces worth looking at. A message about suspected leaks is
definitely useful, it just shouldnt be printed too frequently.

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