Messages in this thread | | | Date | Wed, 04 Jul 2007 17:29:54 +0100 | From | "Jan Beulich" <> | Subject | Re: [PATCH] x86: make SMP locks handling interact properly with CONFIG_DEBUG_RODATA (2nd try) |
| |
>>> Jeremy Fitzhardinge <jeremy@goop.org> 04.07.07 17:41 >>> >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?
No, the patch already does this (as long as there no code to do that other than in alternatives.c).
>> 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.
Oh, sorry, I forgot to remove that part of the comment after merging up to 2.6..22-rcX.
Jan
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |