Messages in this thread | | | Date | Thu, 4 Apr 2019 20:14:08 +0200 (CEST) | From | Thomas Gleixner <> | Subject | Re: [PATCH v6 13/20] x86/split_lock: Enable split lock detection by default |
| |
On Thu, 4 Apr 2019, Thomas Gleixner wrote: > On Wed, 3 Apr 2019, Fenghua Yu wrote: > > +static void init_split_lock_detect(struct cpuinfo_x86 *c) > > +{ > > + if (cpu_has(c, X86_FEATURE_SPLIT_LOCK_DETECT)) { > > + u32 l, h; > > + > > + mutex_lock(&split_lock_detect_mutex);
The mutex protects what exactly in the cpu bringup code?
Thanks,
tglx
| |