Re: [PATCH v2] x86/dumpstack: Fix misleading instruction pointer error message
From: Oleg Nesterov
Date: Tue Nov 03 2020 - 13:11:25 EST
On 11/03, Borislav Petkov wrote:
>
> 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.
I understand, but why do you think this makes sense?
Say, do you think it is fine to block in fuse_readpage() ?
Anyway, this is off-topic and I won't argue.
Oleg.