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)
Wed, Feb 18, 4:28 PM
Unknown Object (File)
Mon, Feb 16, 11:29 PM
Unknown Object (File)
Mon, Feb 16, 11:29 PM
Unknown Object (File)
Sun, Feb 8, 2:35 PM
Unknown Object (File)
Jan 16 2026, 6:32 AM
Unknown Object (File)
Jan 14 2026, 3:30 PM
Unknown Object (File)
Jan 7 2026, 11:27 PM
Unknown Object (File)
Dec 13 2025, 8:35 PM
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 66023
Build 62906: arc lint + arc unit

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.