lkml.org 
[lkml]   [2019]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 4/6] x86/MCE: Make number of MCA banks per_cpu
On Tue, May 21, 2019 at 10:29:02PM +0200, Borislav Petkov wrote:
>
> Can we do instead:
>
> -static DEFINE_PER_CPU_READ_MOSTLY(struct mce_bank *, mce_banks_array);
> +static DEFINE_PER_CPU_READ_MOSTLY(struct mce_bank, mce_banks_array[MAX_NR_BANKS]);
>
> which should be something like 9*32 = 288 bytes per CPU.
>

Where did you get the "9" from? struct mce_bank looks to
be over 50 bytes.

Still only 1.5K per cpu though.

-Tony

\
 
 \ /
  Last update: 2019-05-21 22:44    [W:0.052 / U:11.652 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site