HomeFreeBSD

Remove the volatile qualifier from busy_lock.

Description

Remove the volatile qualifier from busy_lock.

Use atomic(9) to load the lock state. Some places were doing this
already, so it was inconsistent. In initialization code, the lock state
is still initialized with plain stores.

Reviewed by: alc, kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D25861

Details

Provenance
markjAuthored on
Reviewer
alc
Differential Revision
D25861: Remove the volatile qualifier from busy_lock.
Parents
rS363670: Continued ipfilter #ifdef cleanup. The r343701 log entry contains a
Branches
Unknown
Tags
Unknown