HomeFreeBSD

Use load-acquire semantics while waiting for td_lock to be released. The

Description

Use load-acquire semantics while waiting for td_lock to be released. The
store should have release semantics and will have due to the dsb above it
so add a comment to explain this. [1]

While here update the code to not reload the current thread, it's already
in a register, we just need to not trash it.

Suggested by: kib [1]
Sponsored by: ABT Systems Ltd

Details

Provenance
andrewAuthored on
Parents
rS287535: RFC 4960 requires that packets containing an INIT chunk bundled with
Branches
Unknown
Tags
Unknown