In set_fpcontext we only need a critical section around vfp_discard.
The remainder of the code can run without it.
While here add an assert to check the passed in thread is the
current thread as the code already this.
Sponsored by: Arm Ltd
Differential D38000
Reduce an arm64 VFP critical section andrew on Jan 9 2023, 9:20 PM. Authored by Tags None Referenced Files
Details
In set_fpcontext we only need a critical section around vfp_discard. While here add an assert to check the passed in thread is the Sponsored by: Arm Ltd
Diff Detail
Event Timeline |