lkml.org 
[lkml]   [2014]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 4/5] x86/mce: Simplify flow when handling recoverable memory errors
Sorry, I am a bit confused...

On 11/11, Borislav Petkov wrote:
>
> Roughly speaking, we want to be able to mark a task with the sign of
> death and to kill it, if needed.

"it" is current, yes?

So I agree with Andy, task_work_add() can work and you can also pass
paddr/restartable to the handler.

But,

> The important part is *before* it
> gets to run again.

But it is already running? Perhaps you meant "before it returns to
user-mode" ?

Oleg.



\
 
 \ /
  Last update: 2014-11-12 19:01    [W:0.064 / U:0.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site