Re: [PATCH] kmemleak: Annotate false positive ininit_section_page_cgroup()

From: KAMEZAWA Hiroyuki
Date: Thu Jul 15 2010 - 19:18:22 EST


On Thu, 15 Jul 2010 16:01:17 +0100
Catalin Marinas <catalin.marinas@xxxxxxx> wrote:

> The pointer to the page_cgroup table allocated in
> init_section_page_cgroup() is stored in section->page_cgroup as (base -
> pfn). Since this value does not point to the beginning or inside the
> allocated memory block, kmemleak reports a false positive.
>
> Signed-off-by: Catalin Marinas <catalin.marinas@xxxxxxx>
> Reported-by: Adrien Dessemond <adrien.dessemond@xxxxxxxxx>
> Cc: Pekka Enberg <penberg@xxxxxxxxxxxxxx>
> Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>

Thank you!.
Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx>

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