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

From: Pekka J Enberg
Date: Tue Jun 13 2006 - 01:51:55 EST


Hi Ingo,

On Mon, 12 Jun 2006, Ingo Molnar wrote:
> i dont know - i feel uneasy about the 'any pointer' method - it has a
> high potential for false negatives, especially for structures that
> contain strings (or other random data), etc.

Is that a problem in practice? Structures that contain data are usually
allocated from the slab. There needs to be a link to that struct from the
gc roots to get a false negative. Or am I missing something here?

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/