HomeFreeBSD

arm64: optimize set_syscall_retval()

Description

arm64: optimize set_syscall_retval()

Microoptimize set_syscall_retval() for arm64 by predicting
the return value to be zero. This is similar to what has
been done for other architectures

Reviewed By: emaste, mhorne
Differential Revision: https://reviews.freebsd.org/D26991

(cherry picked from commit fb8c2f743ab695f6004650b58bf96972e2535b20)

Details

Provenance
traszAuthored on Feb 8 2021, 10:46 AM
Reviewer
emaste
Differential Revision
D26991: Optimize set_syscall_retval for arm64
Parents
rGa95b05950a2f: linux: remove locks around callout_drain in timerfd_close()
Branches
Unknown
Tags
Unknown