提交 17c5cf0f 编写于 作者: G Ganesh Goudar 提交者: Michael Ellerman

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: NGanesh Goudar <ganeshgr@linux.ibm.com>
Signed-off-by: NMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20210128104143.70668-1-ganeshgr@linux.ibm.com
上级 b709e32e
...@@ -204,7 +204,7 @@ struct mce_error_info { ...@@ -204,7 +204,7 @@ struct mce_error_info {
bool ignore_event; bool ignore_event;
}; };
#define MAX_MC_EVT 100 #define MAX_MC_EVT 10
/* Release flags for get_mce_event() */ /* Release flags for get_mce_event() */
#define MCE_EVENT_RELEASE true #define MCE_EVENT_RELEASE true
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册