https://github.com/torvalds/linux/blob/bf272460d744112bacd4c4d562592decbf0edf64/arch/x86/kernel/cpu/mce/core.c#L1543
if ((m.cs & 3) == 3) {
/* If this triggers there is no way to recover. Die hard. */
BUG_ON(!on_thread_stack() || !user_mode(regs));
as above, what is die hard? what is die soft?
Will the rest of the code continues running after BUG_ON() execution?
Asked by Mark K
(955 rep)
Sep 1, 2022, 03:13 AM
Last activity: Sep 1, 2022, 07:50 AM
Last activity: Sep 1, 2022, 07:50 AM