Page MenuHomeFreeBSD

sys: Add CPU_TEST_{SET,CLR}_ATOMIC
ClosedPublic

Authored by andrew on Aug 6 2025, 4:20 PM.
Tags
None
Referenced Files
F142125294: D51765.id159952.diff
Fri, Jan 16, 6:32 AM
Unknown Object (File)
Wed, Jan 14, 3:30 PM
Unknown Object (File)
Wed, Jan 7, 11:27 PM
Unknown Object (File)
Dec 13 2025, 8:35 PM
Unknown Object (File)
Dec 12 2025, 3:06 AM
Unknown Object (File)
Nov 25 2025, 4:21 PM
Unknown Object (File)
Nov 24 2025, 10:10 PM
Unknown Object (File)
Oct 28 2025, 3:37 AM
Subscribers

Details

Summary

These are similar to CPU_{SET,CLR}_ATOMIC with the addition of
returning true if the CPU bit was set before the change.

Sponsored by: Arm Ltd

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

andrew requested review of this revision.Aug 6 2025, 4:20 PM
share/man/man9/cpuset.9
25

Will update this

cpuset: as the commit tag seems more useful to me.

This revision is now accepted and ready to land.Aug 6 2025, 5:43 PM
This revision was automatically updated to reflect the committed changes.