lkml.org 
[lkml]   [2016]   [Nov]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v13 6/8] x86/arch_prctl: Add ARCH_[GET|SET]_CPUID
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.

Thanks,

tglx

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