Messages in this thread | | | From | Kyle Huey <> | Date | Mon, 28 Nov 2016 08:13:49 -0800 | Subject | Re: [PATCH v13 6/8] x86/arch_prctl: Add ARCH_[GET|SET]_CPUID |
| |
On Mon, Nov 28, 2016 at 6:06 AM, Thomas Gleixner <tglx@linutronix.de> wrote: > On Sun, 27 Nov 2016, Kyle Huey wrote: >> +DEFINE_PER_CPU(u64, msr_misc_features_shadow); >> + >> +static void set_cpuid_faulting(bool on) >> +{ >> + u64 msrval; >> + >> + DEBUG_LOCKS_WARN_ON(!irqs_disabled()); > > The arch_prctl code path does not have interrupts disabled and there is no > reason why it should have.
Yes, indeed. Removed.
- Kyle
| |