Re: [PATCH] x86: tighten kernel image page access rights

From: Jan Beulich
Date: Thu Mar 29 2007 - 03:17:37 EST


>>> Andi Kleen <ak@xxxxxxx> 28.03.07 21:07 >>>
>
>> +#ifdef CONFIG_HOTPLUG_CPU
>> + /* It must still be possible to apply SMP alternatives. */
>> + if (num_possible_cpus() <= 1)
>
>It would be better to temporarily change the pages where the alternatives
>are applied while that is done and keep it otherwise ro

I had considered that, but not done so due to the larger resulting patch.
Are you okay with doing this as a follow-up step?

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/