Re: [RFC PATCH] x86, fpu: Use eagerfpu by default on all CPUs

From: Ingo Molnar
Date: Sat Feb 21 2015 - 14:24:02 EST



* Borislav Petkov <bp@xxxxxxxxx> wrote:

> > I'd sleep a lot better if we had some runtime debug
> > flag to be able to do run-to-run comparisons on the
> > same booted up kernel, or so.
>
> Let me take a look whether we could so some knob... The
> nice thing is, code uses use_eager_fpu() to check stuff
> so we should be able to clear the cpufeature flag.

Either that, or you could quickly hack those checks to use
panic_timeout, add an 'extern int panic_timeout;' and after
bootup do:

echo 0 > /proc/sys/kernel/panic
echo 1 > /proc/sys/kernel/panic

to switch between the modes?

Thanks,

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