mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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
This commit is contained in:
parent
b709e32ef5
commit
17c5cf0fb9
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ struct mce_error_info {
|
|||
bool ignore_event;
|
||||
};
|
||||
|
||||
#define MAX_MC_EVT 100
|
||||
#define MAX_MC_EVT 10
|
||||
|
||||
/* Release flags for get_mce_event() */
|
||||
#define MCE_EVENT_RELEASE true
|
||||
|
|
Loading…
Add table
Reference in a new issue