Re: Question about memory leak detector giving false positive report for net/core/flow.c
From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2011-09-27 17:05:32
Also in:
linux-mm, lkml
From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2011-09-27 17:05:32
Also in:
linux-mm, lkml
On Tue, Sep 27, 2011 at 06:55:18AM +0100, Eric Dumazet wrote:
Yes, it was not a patch, but the general idea for Catalin ;) You hit the fact that same zone (embedded percpu space) is now in a mixed state. In current kernels, the embedded percpu zone is already known by kmemleak, but with a large granularity. kmemleak is not aware of individual allocations/freeing in this large zone.
It looks like this comes via the bootmem allocator. Maybe we could simply call kmemleak_free() on the embedded percpu space and just track those via the standard percpu API. -- Catalin -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>