On Thu, Jul 10, 2014 at 10:56 AM, Havard Skinnemoen <hskinnem...@google.com> wrote: > Even on kexec-enabled kernels, we might be doing a regular BIOS boot. > Is there any way to detect that we're doing a kexec boot and only > clearing the MSRs in that case?
I'm not sure if we should worry about that ... not having the code bloat for the functions is kexec is not configured is a good goal. Worrying about a few extra microseconds in the shutdown path if kexec is configured but we are actually doing a normal shutdown/reboot doesn't seem as big of a worry. -Tony -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/