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, Nov 23, 6:16 PM
Unknown Object (File)
Sun, Nov 16, 3:31 AM
Unknown Object (File)
Wed, Nov 5, 3:19 AM
Unknown Object (File)
Mon, Nov 3, 4:18 PM
Unknown Object (File)
Sun, Nov 2, 4:33 AM
Unknown Object (File)
Sat, Nov 1, 3:42 AM
Unknown Object (File)
Wed, Oct 29, 2:22 PM
Unknown Object (File)
Wed, Oct 29, 2:22 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