Re: [PATCH v3 2/2] x86/fpu: Update the debug flow for x86_task_fpu()
From: Oleg Nesterov
Date: Fri Aug 08 2025 - 03:51:27 EST
On 08/08, Lai, Yi wrote:
>
> [ 17.474769] WARNING: CPU: 1 PID: 731 at arch/x86/kernel/fpu/core.c:61 x86_task_fpu+0x76/0x90
...
> [ 17.481244] xfpregs_get+0x9c/0x1e0
...
> [ 17.485304] do_coredump+0x370e/0x5060
Damn, I was going to check the ptrace / coredump paths but didn't have
time and then forgot :/
For now, I think we need to remove PF_USER_WORKER from x86_task_fpu().
Then, we add it back later.
It is not clear what should we do if debugger does xfpregs_set()...
Oleg.