Re: [PATCH v2] x86/dumpstack: Fix misleading instruction pointer error message
From: Borislav Petkov
Date: Tue Nov 03 2020 - 12:52:47 EST
On Tue, Nov 03, 2020 at 06:47:44PM +0100, Oleg Nesterov wrote:
> > I'm thinking this should not use the atomic variant if it can get called
> > in !atomic context too.
>
> For what?
I'm thinking copy_code() should not use copy_from_user_nmi() if former
can be called in non-atomic context too.
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette