Re: [PATCH] x86: make SMP locks handling interact properly with CONFIG_DEBUG_RODATA(2nd try)

From: Jeremy Fitzhardinge
Date: Wed Jul 04 2007 - 11:41:50 EST


Jan Beulich wrote:
Instead of suppressing the change of .text to become readonly, make
the SMP locks patching code properly adjust/restore the page access
rights.

I guess we'll need to do the same thing for paravirt_ops patching?

On x86-64 additionally remove all mappings past the kernel image, and
remove leftovers from the removal of the more general (but abandoned)
SMP alternatives.

I'd already posted a patch to remove smp alternatives. I thought it had been merged already, but I guess it's in Andi's queue.

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