lkml.org 
[lkml]   [2006]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2.6.17-rc5 7/8] Remove some of the kmemleak false positives
Hi!

> From: Catalin Marinas <catalin.marinas@arm.com>
>
> There are allocations for which the main pointer cannot be found but they
> are not memory leaks. This patch fixes some of them.

> @@ -1323,6 +1323,7 @@ legacy_init_iomem_resources(struct resou
> if (e820.map[i].addr + e820.map[i].size > 0x100000000ULL)
> continue;
> res = kzalloc(sizeof(struct resource), GFP_ATOMIC);
> + memleak_debug_not_leak(res);

I'd suggest some shorter/more generic name.

not_freed(res); ?

alloc_forever(res); ?

--
Thanks for all the (sleeping) penguins.
-
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/

\
 
 \ /
  Last update: 2006-06-03 22:51    [from the cache]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog