Re: [PATCH v5 07/39] x86: Add user control-protection fault handler

From: Borislav Petkov
Date: Sat Feb 04 2023 - 05:38:12 EST


On Fri, Feb 03, 2023 at 11:01:42PM +0000, Edgecombe, Rick P wrote:
> Since this path is only for exceptions coming from userspace, I think
> it should be valid either way. It can't be during a task switch.
> I can swap the lines if it looks odd, but unless I'm wrong about the
> 'current' validity I think it's negligibly better as is because it is
> preemptible for as long as possible.

Nah, all good. I was confused here. Sorry for the noise.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette