| Date | Thu, 20 Nov 2008 13:09:04 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH 2.6.28-rc5 07/11] kmemleak: Remove some of the kmemleak false positives |
| |
* Catalin Marinas <catalin.marinas@arm.com> wrote:
> for (currcons = 0; currcons < MIN_NR_CONSOLES; currcons++) { > vc_cons[currcons].d = vc = alloc_bootmem(sizeof(struct vc_data)); > + /* kmemleak does not track the memory allocated via > + * alloc_bootmem() but this block contains pointers to > + * other blocks allocated via kmalloc */ > + memleak_alloc(vc, sizeof(struct vc_data), 1);
Comment style - and that is true for other bits of your patchset too.
Ingo
|