lkml.org 
[lkml]   [2024]   [Feb]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
Subject[PATCH 2/2] x86/MCE: Add command line option to extend MCE Records pool
From
Hi,

On 2/12/2024 14:18, Borislav Petkov wrote:
> On Mon, Feb 12, 2024 at 01:40:21PM -0600, Naik, Avadhut wrote:
>> The spinlock is mostly held to prevent other primitives
>> from modifying chunks within the genpool.
>>
>> In #MC context however, we are not modifying the existing
>> chunks, per se.
>
> What if we decide to do
>
> mce[i]count++;
>
> in #MC context?
>
> That's modifying the existing chunks.
>
> TBH, I'm not sure what that spinlock is for. See my reply to that same
> subthread.
>
Yes, noticed your reply. Clears most of my confusion.

--
Thanks,
Avadhut Naik

\
 
 \ /
  Last update: 2024-05-27 14:59    [W:0.170 / U:1.380 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site