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)
Wed, Jul 8, 7:54 AM
Unknown Object (File)
Wed, Jul 8, 2:08 AM
Unknown Object (File)
Tue, Jul 7, 5:48 AM
Unknown Object (File)
Mon, Jul 6, 10:44 PM
Unknown Object (File)
Mon, Jul 6, 11:32 AM
Unknown Object (File)
Sat, Jul 4, 3:09 AM
Unknown Object (File)
Fri, Jul 3, 2:14 AM
Unknown Object (File)
Thu, Jul 2, 11:37 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 Not Applicable
Unit
Tests Not Applicable