diff options
author | Jiang Liu <[email protected]> | 2013-09-27 09:04:41 +0100 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2013-09-27 18:21:37 +0100 |
commit | 6db83cea1c975b9a102e17def7d2795814e1ae2b (patch) | |
tree | 8bb027ee7d2738649783800354f88de59580d9cd /lib/memory-notifier-error-inject.c | |
parent | fc18047c732f6becba92618a397555927687efd3 (diff) |
arm64: fix possible invalid FPSIMD initialization state
If context switching happens during executing fpsimd_flush_thread(),
stale value in FPSIMD registers will be saved into current thread's
fpsimd_state by fpsimd_thread_switch(). That may cause invalid
initialization state for the new process, so disable preemption
when executing fpsimd_flush_thread().
Signed-off-by: Jiang Liu <[email protected]>
Cc: Jiang Liu <[email protected]>
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions