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

From: Jan Beulich
Date: Wed Jul 04 2007 - 12:29:19 EST


>>> Jeremy Fitzhardinge <jeremy@xxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/