[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20141112172057.GA8303@redhat.com>
Date: Wed, 12 Nov 2014 18:20:58 +0100
From: Oleg Nesterov <oleg@...hat.com>
To: Borislav Petkov <bp@...en8.de>
Cc: linux-kernel@...r.kernel.org,
"Chen, Gong" <gong.chen@...ux.intel.com>, tony.luck@...el.com,
x86@...nel.org, Peter Zijlstra <peterz@...radead.org>,
Andy Lutomirski <luto@...capital.net>
Subject: Re: [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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists