Re: [patches] new text patching for review

From: Jeremy Fitzhardinge
Date: Thu Jul 19 2007 - 17:09:51 EST


Andi Kleen wrote:
> Either not use any pvops or make sure all the pvops patching is atomic
> on the local CPU.
>

Erk, not really keen on that. Sounds complicated, unless there's a nice
general algorithm.

> Ok you can avoid MCEs by not enabling them until after you patch (which I think
> is the case currently), but it's more difficult with NMIs.
>
> The plain NMI handler is probably auditable.
> Or set a flag that makes the NMI handler just return during patching?
>

I think that's probably the simplest, if nobody will miss it.

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