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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>> Jeremy Fitzhardinge <[email protected]> 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux