lkml.org 
[lkml]   [2008]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2008-11-20 13:11    [W:0.923 / U:1.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site