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

Borislav Petkov
2023-02-04T10:38:11Z

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.