lkml.org 
[lkml]   [2008]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [uml-devel] [PATCH 5/6] slab: Annotate slab
Hi Steve,

On Wed, Sep 3, 2008 at 6:42 PM, Steve VanDeBogart
<vandebo-lkml@nerdbox.net> wrote:
> But which bits of a slab object should be marked as initialized at
> kmem_cache_alloc() time? We can't mark all of them as initialized
> because the constructor may not initialize all of them (in fact, I've
> programmatically confirmed that there are constructors that don't
> initialize all the bytes of an object). The only place to get the
> information of interest is to mark all bytes uninitialized and then
> run the constructor on the memory region.

Aah, indeed. We should fix kmemcheck as well then.

Pekka


\
 
 \ /
  Last update: 2008-09-04 09:37    [W:0.077 / U:1.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site