Messages in this thread | | | Date | Sat, 4 Feb 2023 11:37:58 +0100 | From | Borislav Petkov <> | Subject | Re: [PATCH v5 07/39] x86: Add user control-protection fault handler |
| |
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
| |