Re: [PATCH] kmemcheck: SMP support

From: Ingo Molnar
Date: Fri May 23 2008 - 11:07:22 EST

* Vegard Nossum <vegard.nossum@xxxxxxxxx> wrote:

> This works on real hw, but not on qemu. It seems to get stuck waiting
> for one of the atomic values to change. Don't know why yet, it might
> just be yet another bug in qemu... (we've hit at least two of them so
> far. And they were real bugs too.)
> But do you think this approach is feasible? It will kill
> interactivity, that's for sure, though only when kmemcheck is run-time
> enabled and number of CPUs > 1 (the more the worse).

i think we definitely want it - if for no other purpose but for people
to become disgusted at the overhead and fixing it ;-)

Vegard, wanna have a look at introducing per CPU kernel pagetables? I
tried that once in the past and it wasnt too horrible. (the patches are
gone though) We could do it before bringing other CPUs online, i.e. much
of the really yucky boot time pagetable juggling phase would be over
already. Hm?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at