Page MenuHomeFreeBSD

Let the CloudABI futex code use umtx_keys.
ClosedPublic

Authored by ed on Aug 3 2015, 9:13 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Apr 27, 10:36 AM
Unknown Object (File)
Sat, Apr 27, 10:36 AM
Unknown Object (File)
Sat, Apr 27, 10:36 AM
Unknown Object (File)
Sat, Apr 27, 10:36 AM
Unknown Object (File)
Sat, Apr 27, 9:40 AM
Unknown Object (File)
Dec 23 2023, 4:27 AM
Unknown Object (File)
Dec 21 2023, 1:37 PM
Unknown Object (File)
Nov 9 2023, 11:29 AM
Subscribers

Details

Test Plan

The CloudABI kernel still passes all of the cloudlibc unit tests.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ed retitled this revision from to Let the CloudABI futex code use umtx_keys..
ed updated this object.
ed edited the test plan for this revision. (Show Details)
ed added a reviewer: jhb.
vangyzen edited edge metadata.
vangyzen added inline comments.
sys/compat/cloudabi/cloudabi_futex.c
219 ↗(On Diff #7621)

umtx_key_get always operates on curthread. Here, td seems to always be curthread, but I didn't trace every call path. If this is true, you might assert it, if that doesn't seem too silly.

This revision is now accepted and ready to land.Aug 3 2015, 10:02 PM
ed edited edge metadata.

Add an assertion for the thread.

This revision now requires review to proceed.Aug 3 2015, 10:09 PM
sys/compat/cloudabi/cloudabi_futex.c
219 ↗(On Diff #7621)

That's a good idea. Done!

vangyzen edited edge metadata.
This revision is now accepted and ready to land.Aug 3 2015, 10:16 PM
This revision was automatically updated to reflect the committed changes.