Cool, new toys 8-) I'll have a play with this tomorrow.
after a quick glance, one thing jumped out at me.
> +static int __init sysenter_setup(void)
> +{
> + if (!boot_cpu_has(X86_FEATURE_SEP))
> + return 0;
> +
> + enable_sep_cpu(NULL);
> + smp_call_function(enable_sep_cpu, NULL, 1, 1);
> + return 0;
I'm sure I recall seeing errata on at least 1 CPU re sysenter.
If we do decide to go this route, we'll need to blacklist ones
with any really icky problems.
Dave
-- | Dave Jones. http://www.codemonkey.org.uk | SuSE Labs - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/