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