Page MenuHomeFreeBSD

pf: atomically increment state ids
ClosedPublic

Authored by kp on Oct 8 2022, 8:36 AM.
Tags
None
Referenced Files
F175698003: D36915.id111582.diff
Mon, Oct 12, 2:53 PM
F175697958: D36915.id111584.diff
Mon, Oct 12, 2:52 PM
F175696216: D36915.diff
Mon, Oct 12, 2:34 PM
Unknown Object (File)
Sat, Oct 10, 5:08 PM
Unknown Object (File)
Fri, Oct 9, 11:10 PM
Unknown Object (File)
Wed, Oct 7, 5:12 PM
Unknown Object (File)
Mon, Oct 5, 3:45 AM
Unknown Object (File)
Sat, Oct 3, 7:49 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