Page MenuHomeFreeBSD

rtld-elf: Pass TCB to allocate_module_tls to avoid re-getting
ClosedPublic

Authored by jrtc27 on Wed, May 28, 11:03 PM.
Tags
None
Referenced Files
F119244375: D50594.id.diff
Fri, Jun 6, 7:25 PM
Unknown Object (File)
Thu, Jun 5, 9:39 AM
Unknown Object (File)
Sun, Jun 1, 6:00 PM
Unknown Object (File)
Thu, May 29, 4:43 PM
Subscribers

Details

Summary

The only caller already has the current TCB to hand, so just pass it
down rather than get it again. This also makes it clear in the caller
that it depends on the (current) TCB, rather than being storage that
could be assigned to any thread (concurrency issues aside).

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 64525
Build 61409: arc lint + arc unit