RE: [PATCH] x86, MCE: Flesh out when to panic comment
From: Luck, Tony
Date: Tue May 27 2014 - 18:33:23 EST
> And this tolerant check looks fishy to me:
>
> if (s->sev >= MCE_UC_SEVERITY && ctx == IN_KERNEL) {
> if (panic_on_oops || tolerant < 1)
> return MCE_PANIC_SEVERITY;
> }
>
> since we set it to 1 by default. But I'll look again on a clear head
> tomorrow - it is too late here.
tolerant level 0 exists - but is somewhat crazy in the opposite direction
from the large values. Look at the comment in mce.c ... level 0
means always panic if you see a UC error
-Tony