Page MenuHomeFreeBSD

Reduce an arm64 VFP critical section
ClosedPublic

Authored by andrew on Jan 9 2023, 9:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 6 2025, 8:20 AM
Unknown Object (File)
Nov 16 2025, 4:24 PM
Unknown Object (File)
Nov 9 2025, 6:36 AM
Unknown Object (File)
Nov 8 2025, 11:56 PM
Unknown Object (File)
Nov 7 2025, 1:35 AM
Unknown Object (File)
Oct 29 2025, 4:08 PM
Unknown Object (File)
Oct 29 2025, 12:56 PM
Unknown Object (File)
Oct 29 2025, 12:56 PM
Subscribers

Details

Summary

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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable