Messages in this thread | | | Date | Thu, 4 Sep 2008 10:33:54 +0300 | From | "Pekka Enberg" <> | Subject | Re: [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
| |