From: Catalin Marinas Date: Mon, 19 Jul 2010 10:54:14 +0000 (+0100) Subject: kmemleak: Annotate false positive in init_section_page_cgroup() X-Git-Tag: v2.6.35-rc6~29^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7952f98818d561ed0e11434a7a16acd9a7bae859;p=pandora-kernel.git kmemleak: Annotate false positive in init_section_page_cgroup() 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. This was reported in bugzilla.kernel.org as #16297. Signed-off-by: Catalin Marinas Reported-by: Adrien Dessemond Reviewed-by: KAMEZAWA Hiroyuki Cc: Pekka Enberg Cc: Andrew Morton --- Reading git-diff-tree failed