Page MenuHomeFreeBSD

atomic: add atomic_interrupt_fence()
ClosedPublic

Authored by kib on Feb 24 2021, 10:50 AM.
Tags
None
Referenced Files
F80151720: D28909.diff
Thu, Mar 28, 2:50 PM
Unknown Object (File)
Tue, Mar 26, 5:57 PM
Unknown Object (File)
Feb 2 2024, 2:47 AM
Unknown Object (File)
Jan 12 2024, 11:46 PM
Unknown Object (File)
Dec 12 2023, 10:54 AM
Unknown Object (File)
Dec 1 2023, 12:35 PM
Unknown Object (File)
Nov 21 2023, 8:32 AM
Unknown Object (File)
Nov 15 2023, 2:35 PM
Subscribers
None

Details

Summary

with the semantic following C11 signal_fence, that is, it establishes ordering between its place and any interrupt handler executing on the same CPU.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Feb 24 2021, 10:50 AM
kib created this revision.
This revision is now accepted and ready to land.Feb 24 2021, 10:56 AM
rlibby added inline comments.
share/man/man9/atomic.9
34

Comma?

298–305

Apologies in advance for nitpicking grammar, but since this is the man page (which by the way is excellent overall):

Interrupt Fence Operation

I think should be plural, like Thread Fence Operations is.

It is modelled after similar C11 function
.Fn atomic_signal_fence() ,
adapted for the kernel environment.

Suggestions:

It is modelled after the similar C11 function
.Fn atomic_signal_fence() ,
and adapted for the kernel environment.

Additionally my spell check wants "modelled" to have one L, but I think this is a regional thing and I'm not sure if we're consistent about that.

kib marked 2 inline comments as done.

Man page fixes.

This revision now requires review to proceed.Feb 24 2021, 8:46 PM
This revision is now accepted and ready to land.Feb 24 2021, 8:48 PM
This revision was automatically updated to reflect the committed changes.