Page MenuHomeFreeBSD

atomic: add atomic_interrupt_fence()
ClosedPublic

Authored by kib on Feb 24 2021, 10:50 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Oct 17, 11:06 AM
Unknown Object (File)
Oct 10 2024, 7:39 AM
Unknown Object (File)
Oct 3 2024, 2:33 AM
Unknown Object (File)
Oct 1 2024, 11:56 AM
Unknown Object (File)
Sep 17 2024, 7:17 PM
Unknown Object (File)
Sep 8 2024, 9:01 PM
Unknown Object (File)
Sep 8 2024, 1:10 PM
Unknown Object (File)
Sep 8 2024, 7:18 AM
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.