lkml.org 
[lkml]   [2016]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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

\
 
 \ /
  Last update: 2016-11-28 17:14    [W:4.571 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site