Page MenuHomeFreeBSD

pf: atomically increment state ids
ClosedPublic

Authored by kp on Oct 8 2022, 8:36 AM.
Tags
None
Referenced Files
F154612442: D36915.id111582.diff
Wed, Apr 29, 1:17 AM
F154609783: D36915.id111582.diff
Wed, Apr 29, 1:10 AM
F154534816: D36915.id111584.diff
Tue, Apr 28, 8:38 PM
F154532916: D36915.id111584.diff
Tue, Apr 28, 8:31 PM
Unknown Object (File)
Sat, Apr 25, 2:12 PM
Unknown Object (File)
Tue, Apr 21, 11:47 AM
Unknown Object (File)
Mon, Apr 20, 11:50 PM
Unknown Object (File)
Mon, Apr 20, 3:42 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