Page MenuHomeFreeBSD

pf: atomically increment state ids
ClosedPublic

Authored by kp on Oct 8 2022, 8:36 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Mar 26, 7:14 AM
Unknown Object (File)
Wed, Mar 25, 4:33 PM
Unknown Object (File)
Wed, Mar 25, 8:03 AM
Unknown Object (File)
Tue, Mar 24, 6:46 AM
Unknown Object (File)
Mon, Mar 16, 7:32 PM
Unknown Object (File)
Tue, Mar 10, 5:00 PM
Unknown Object (File)
Mon, Mar 9, 8:03 PM
Unknown Object (File)
Thu, Mar 5, 4:31 PM

Details

Summary

Rather than using a per-cpu state counter, and adding in the CPU id we
can atomically increment the number.
This has the advantage of removing the assumption that the CPU ID fits
in 8 bits.

Event: Aberdeen Hackathon 2022

Diff Detail

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