Re: [PATCH] kmemcheck: SMP support

From: Vegard Nossum
Date: Fri May 23 2008 - 11:31:23 EST

On Fri, May 23, 2008 at 5:06 PM, Ingo Molnar <mingo@xxxxxxx> wrote:
> 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?


It really doesn't matter how easy it was for you.

You're one of the x86 maintainers.

And I think you're forgetting how hard these things are for a newbie.
I don't even know which one comes first of pmds and puds.

Per-cpu page tables sounds about on the same scale of as, say,
rewriting the VM or some other major subsystem. Epic!

I'm glad to hear from you, though.

Pekka suggested that per-cpu page tables might help NUMA systems too.
Does that sound right to you? Would anybody else benefit from having
per-CPU page tables? If not, I have a hard time believing it will ever
get merged.

(Oh. mmio-trace might. But that's also a hacking tool and doesn't really count.)


"The animistic metaphor of the bug that maliciously sneaked in while
the programmer was not looking is intellectually dishonest as it
disguises that the error is the programmer's own creation."
-- E. W. Dijkstra, EWD1036
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