Page MenuHomeFreeBSD

sys: Add CPU_TEST_{SET,CLR}_ATOMIC
ClosedPublic

Authored by andrew on Aug 6 2025, 4:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 10, 12:42 PM
Unknown Object (File)
Sat, Aug 8, 3:57 PM
Unknown Object (File)
Sat, Aug 8, 3:41 PM
Unknown Object (File)
Sat, Aug 8, 5:16 AM
Unknown Object (File)
Tue, Aug 4, 9:25 AM
Unknown Object (File)
Tue, Aug 4, 2:22 AM
Unknown Object (File)
Mon, Aug 3, 10:02 AM
Unknown Object (File)
Mon, Aug 3, 1:26 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.