]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
atomic: add atomic_interrupt_fence()
authorKonstantin Belousov <kib@FreeBSD.org>
Tue, 23 Feb 2021 22:12:29 +0000 (00:12 +0200)
committerKonstantin Belousov <kib@FreeBSD.org>
Wed, 24 Feb 2021 20:45:24 +0000 (22:45 +0200)
commite2494f7561c852951d8ac567314f5e12f19ee7af
tree484b6e2980d2a926fd513e5bc8b692a286062e2b
parent43d4dfac96f7f8285a27989f315c075d28aadb12
atomic: add atomic_interrupt_fence()

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

Reviewed by: markj, mjg, rlibby
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D28909
share/man/man9/atomic.9
sys/sys/atomic_common.h