Re: [PATCH 2.6.17-rc4 1/6] Base support for kmemleak

From: Catalin Marinas
Date: Fri May 26 2006 - 18:01:19 EST


Ingo Molnar wrote:
> Also, kmemleak guarantees (assuming the implementation is correct) that
> if a leak happens in practice, it will be detected immediately.
> Coverity, being a static analyzer, wont find leaks that are obscured by
> some sort of complex codepath.

A good example is the skb allocation/freeing. I'm not sure Coverity is
able to track the code path in a protocol stack. I'll modify a network
driver to "forget" some skb freeing and test the kmemleak detection.

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