Re: [patch V4 part 1 29/36] x86/mce: Send #MC singal from task work

Borislav Petkov
2020-05-14T14:17:05Z

+ Tony.

On Tue, May 05, 2020 at 03:16:31PM +0200, Thomas Gleixner wrote:
> From: Peter Zijlstra <peterz@infradead.org>
>
> Convert #MC over to using task_work_add(); it will run the same code
> slightly later, on the return to user path of the same exception.
>
> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Reviewed-by: Frederic Weisbecker <frederic@kernel.org>
> ---
> arch/x86/kernel/cpu/mce/core.c | 56 ++++++++++++++++++++++-------------------
> include/linux/sched.h | 6 ++++
> 2 files changed, 37 insertions(+), 25 deletions(-)

I like this:

Reviewed-by: Borislav Petkov <bp@suse.de>

--
Regards/Gruss,
Boris.