diff options
author | Chen, Gong <[email protected]> | 2015-08-12 18:29:34 +0200 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-08-13 10:12:50 +0200 |
commit | 648ed94038c030245a06e4be59744fd5cdc18c40 (patch) | |
tree | 85acdf36ada3f85191377b257db353a5590c6f56 /scripts/gdb/linux/modules.py | |
parent | 20d51a426fe9a0d0a63cc3a7488f621c8bac37e1 (diff) |
x86/mce: Provide a lockless memory pool to save error records
printk() is not safe to use in MCE context. Add a lockless
memory allocator pool to save error records in MCE context.
Those records will be issued later, in a printk-safe context.
The idea is inspired by the APEI/GHES driver.
We're very conservative and allocate only two pages for it but
since we're going to use those pages throughout the system's
lifetime, we allocate them statically to avoid early boot time
allocation woes.
Signed-off-by: Chen, Gong <[email protected]>
[ Rewrite. ]
Signed-off-by: Borislav Petkov <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Tony Luck <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions