Re: [PATCH 2.6.17-rc6 7/9] Remove some of the kmemleak false positives

From: Pekka J Enberg
Date: Mon Jun 12 2006 - 04:16:10 EST


Hi,

On 12/06/06, Pekka Enberg <penberg@xxxxxxxxxxxxxx> wrote:
> > Can we fix this by looking for pointers to anywhere in the allocated
> > memory block instead of just looking for the start?

On Mon, 12 Jun 2006, Catalin Marinas wrote:
> I thought about this as well (I think that's how Valgrind works) but
> it would increase the chances of missing real leaks.

Yeah but that's far better than adding bunch of 'not a leak' annotations
around the kernel which is very impractical to maintain. I would like to
see your leak detector in the kernel so we can finally get rid of all
those per-subsystem magic allocators. This patch, however, is
unacceptable for inclusion IMHO.

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