Re: [PATCH 1/1] x86: fix text_poke

From: Christoph Lameter
Date: Fri Apr 25 2008 - 15:36:49 EST


On Fri, 25 Apr 2008, Andi Kleen wrote:

> > And we should really add a lot more sanity checking there.
>
> A debug mode for virt_to_page(),__pa,__va et.al. would probably make sense
> and would have caught it.
>
> I used to have that partly in the x86-64 port with VIRTUAL_BUG_ON.

Good idea! Do you have a patch?

--
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/