Re: [PATCH 1/2] kmemcheck v3

From: Andi Kleen
Date: Fri Feb 08 2008 - 06:35:25 EST


On Fri, Feb 08, 2008 at 01:31:44PM +0200, Pekka Enberg wrote:
> Hi Andi,
>
> On Feb 8, 2008 1:55 PM, Andi Kleen <andi@xxxxxxxxxxxxxx> wrote:
> > Impressive patch! On the other hand a lot of the interesting
> > data isn't it kmalloc anymore, but in slab. Does it really track
> > all that much?
>
> It tracks all slab caches. What we're not tracking is pages from the

I see.

> page allocator that are directly used by callers. We had some
> discussion of this already and we definitely want to extend it to
> cover that too later on.

It's probably tricky; there are all kinds of hidden page faults
on x86 on data structures allocated as pages (e.g. GDT, LDT [which
is sometimes kmalloc too], stack etc.)

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/