Re: [PATCH v4 2/5] x86/msr: Carry on after a non-"safe" MSR access fails without !panic_on_oops

From: Linus Torvalds
Date: Mon Mar 14 2016 - 14:15:23 EST


On Mon, Mar 14, 2016 at 11:10 AM, Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote:
>
> A couple of the wrmsr users actually care about performance. These
> are the ones involved in context switching and, to a lesser extent, in
> switching in and out of guest mode.

.. ok, see the crossed emails.

I'd *much* rather special case the special cases. Not make the generic
case something complex.

And *particularly* not make the generic case be something where people
think it's sane to oops and kill the machine. Christ.

Linus