]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
frag6: drop the volatile keyword from frag6_nfrags and mark with __exclusive_cache_line
authorMateusz Guzik <mjg@FreeBSD.org>
Fri, 13 Aug 2021 11:28:39 +0000 (13:28 +0200)
committerMateusz Guzik <mjg@FreeBSD.org>
Wed, 18 Aug 2021 09:44:44 +0000 (09:44 +0000)
commitd368dc0b420af723e85a224636e23998b3e14c07
treec8afd24cb5e454d05ef5bc4e620bd867b8e3c2e0
parent990e592daeb3aa7aad1881d999a6b95c15320df7
frag6: drop the volatile keyword from frag6_nfrags and mark with __exclusive_cache_line

The keyword adds nothing as all operations on the var are performed
through atomic_*

Reviewed by: kp
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D31528

(cherry picked from commit c17ae18080b4412435aa2fb91cd6e81dd6cd180b)
sys/netinet6/frag6.c