RE: [PATCH] x86/mce: Increase maximum number of banks to 64
From: Luck, Tony
Date: Thu Aug 20 2020 - 14:15:20 EST
>> How much does vmlinux size grow with your change?
>>
>
> It seems to get smaller.
>
> -rwxrwxr-x 1 yghannam yghannam 807634088 Aug 20 17:51 vmlinux-32banks
> -rwxrwxr-x 1 yghannam yghannam 807634072 Aug 20 17:50 vmlinux-64banks
You need to run:
$ size vmlinux
text data bss dec hex filename
20334755 12569682 14798924 47703361 2d7e541 vmlinux
Likely the extra space is added to the third element ("bss"). That doesn't show
up in the vmlinux file, but does add to memory footprint while running.
-Tony