Messages in this thread | | | Date | Mon, 12 Jun 2006 11:17:18 +0300 (EEST) | From | Pekka J Enberg <> | Subject | Re: [PATCH 2.6.17-rc6 7/9] Remove some of the kmemleak false positives |
| |
Hi,
On 12/06/06, Pekka Enberg <penberg@cs.helsinki.fi> 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |