[PATCH 1/2] x86/MCE: Extend size of the MCE Records pool

Naik, Avadhut
2024-02-08T17:41:29Z

Hi

On 2/7/2024 18:02, Luck, Tony wrote:
>> +#define CPU_GEN_MEMSZ 256
>
> What is this define?
>
> Why isn't this "sizeof(struct mce)"?
>
> Or 2* that if you are trying to reserve enough space for two records per CPU.
>
That's the memory in bytes reserved for each logical CPU in the
extended MCE Records pool. By current size of struct mce that
equates to around 2 records.

Will change it to (2 * sizeof(struct mce)) though. Feels more
accurate. Thanks for the suggestion!

Do you have any additional concerns/comments on this patchset?

> -Tony

--
Thanks,
Avadhut Naik