mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 08:58:07 +00:00
12f7764ac6
switch_fpu_finish() checks current->mm as indicator for kernel threads.
That's wrong because kernel threads can temporarily use a mm of a user
process via kthread_use_mm().
Check the task flags for PF_KTHREAD instead.
Fixes:
|
||
---|---|---|
.. | ||
api.h | ||
internal.h | ||
regset.h | ||
signal.h | ||
types.h | ||
xcr.h | ||
xstate.h |