lkml.org 
[lkml]   [2020]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFD PATCH] x86/mce: Make sure to send SIGBUS even after losing the race to poison a page
On Thu, Aug 27, 2020 at 09:32:05AM -0700, Tony Luck wrote:
> The #MC used to win that race and the page was taken offline and SIGBUS
> sent to the task.
>
> Changes to how Linux processes machine checks now mean that:
> a) Linux will offline the page based on the UCNA siganture in the
> CMCI handler.

Let's see if that logic makes sense: if #MC offlines the page and sends
SIGBUS but CMCI only offlines the page, isn't it only logical for the
CMCI to *also* send the SIGBUS too, after having offlined the page?

I.e., both should do the proper and full recovery action. Just sayin...

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette

\
 
 \ /
  Last update: 2020-09-03 18:56    [W:0.121 / U:0.340 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site