Re: [PATCH] Add a text_poke syscall v2

From: H. Peter Anvin
Date: Wed Nov 27 2013 - 17:40:45 EST


On 11/27/2013 02:29 PM, Borislav Petkov wrote:
> On Wed, Nov 27, 2013 at 02:25:29PM -0800, H. Peter Anvin wrote:
>> Actually the CPUID is superfluous on anything than the executing CPU
>> since IRET is serializing.
>
> Why not on the executing core too? We're IRET-ting there too.
>
> Which would mean that a dummy empty syscall would be enough too since we
> need the serialization only.
>

Also don't forget we need the IPIs, too...

-hpa

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