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)
Sun, Aug 16, 2:45 PM
Unknown Object (File)
Sun, Aug 16, 2:45 PM
Unknown Object (File)
Sun, Aug 16, 2:44 PM
Unknown Object (File)
Sun, Aug 16, 10:35 AM
Unknown Object (File)
Sun, Aug 16, 9:19 AM
Unknown Object (File)
Fri, Aug 14, 2:14 PM
Unknown Object (File)
Fri, Aug 14, 8:04 AM
Unknown Object (File)
Wed, Aug 12, 3:48 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 47751
Build 44638: arc lint + arc unit