HomeFreeBSD

Reduce an arm64 VFP critical section

Description

Reduce an arm64 VFP critical section

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 Revision: https://reviews.freebsd.org/D38000

Details

Provenance
andrewAuthored on Jan 18 2023, 9:30 AM
Differential Revision
D38000: Reduce an arm64 VFP critical section
Parents
rG61f5462fde6c: Always store the arm64 VFP context
Branches
Unknown
Tags
Unknown