Page MenuHomeFreeBSD

jail: Use atomic(9) instead of CK atomics

Authored by markj on Feb 2 2023, 10:41 PM.
Referenced Files
Unknown Object (File)
Mon, Mar 20, 3:05 PM
Unknown Object (File)
Fri, Mar 17, 3:01 AM
Unknown Object (File)
Sun, Mar 5, 3:56 AM
Unknown Object (File)
Feb 8 2023, 11:42 AM
Unknown Object (File)
Feb 7 2023, 8:13 PM
Unknown Object (File)
Feb 4 2023, 2:45 AM



There's no reason to use one over the other here, let's prefer the
interface that's used elsewhere in the kernel.

No functional change intended.

Diff Detail

rG FreeBSD src repository
Lint Not Applicable
Tests Not Applicable

Event Timeline

markj requested review of this revision.Feb 2 2023, 10:41 PM

My motivation to use these primitives was his: "The network epoch protects some ck lists, now it is going to also protect some pointers, so let's use ck primitive for that.". I don't have any strong opinion on this. So I neither approve nor block this change. No objection from me.

This revision is now accepted and ready to land.Feb 3 2023, 6:11 PM
This revision was automatically updated to reflect the committed changes.