[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0801272319570.540@sbz-30.cs.Helsinki.FI>
Date: Sun, 27 Jan 2008 23:21:33 +0200 (EET)
From: Pekka J Enberg <penberg@...helsinki.fi>
To: Vegard Nossum <vegard.nossum@...il.com>
cc: Jim Houston <jim.houston@...r.com>, Ingo Molnar <mingo@...e.hu>,
Tejun Heo <htejun@...il.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: lib/idr.c: initialize struct idr_layer
Hi Vegard,
On Sun, 27 Jan 2008, Vegard Nossum wrote:
> Though in this case, idr_pre_get() actually *is* called first. Hmm...
> I think there's a pretty big chance that kmemcheck is at fault :-(
Depends on how you track object initialization. An object returned by
kmem_cache_alloc() is always initialized if the cache it comes from has a
constructor.
Pekka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists