On 12/06/06, Ingo Molnar <mingo@elte.hu> wrote:> What i'd like to see though are clear explanations about why an> allocation is not considered a leak, in terms of comments added to the> code. That will also help us reduce the number of annotations later on.

I'll document them in both Documentation/kmemleak.txt and inside thecode. If I implement the "any pointer inside the block" method, allthe memleak_padding() false positives will disappear.