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)
Fri, Nov 15, 11:41 AM
Unknown Object (File)
Fri, Nov 15, 11:35 AM
Unknown Object (File)
Wed, Oct 30, 6:57 AM
Unknown Object (File)
Sun, Oct 27, 5:22 PM
Unknown Object (File)
Sun, Oct 27, 4:52 PM
Unknown Object (File)
Oct 3 2024, 1:14 AM
Unknown Object (File)
Oct 2 2024, 6:12 PM
Unknown Object (File)
Sep 27 2024, 5:48 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