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

From: Andi Kleen
Date: Thu Mar 29 2007 - 05:53:46 EST


On Thursday 29 March 2007 09:17, Jan Beulich wrote:
> >>> 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?

Yes. I tried to apply the original patch, but gots lots of rejects.
Can you please resubmit that one against the latest firstfloor tree?

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