]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/mce: Reduce the size of event arrays
authorGanesh Goudar <ganeshgr@linux.ibm.com>
Thu, 28 Jan 2021 10:41:42 +0000 (16:11 +0530)
committerMichael Ellerman <mpe@ellerman.id.au>
Sun, 31 Jan 2021 11:35:49 +0000 (22:35 +1100)
commite81fc39ed00d04edff7d33a79b9edef88cfd0c1c
tree32f6be9b2629a853e2a61e3c24f946e7b0c11e1d
parent8d7e22b49eb0eaf8b01b0581b0c7329254f4dae5
powerpc/mce: Reduce the size of event arrays

Maximum recursive depth of MCE is 4, Considering the maximum depth
allowed reduce the size of event to 10 from 100. This saves us ~19kB
of memory and has no fatal consequences.

Signed-off-by: Ganesh Goudar <ganeshgr@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210128104143.70668-1-ganeshgr@linux.ibm.com
arch/powerpc/include/asm/mce.h