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 Jul 29 2020, 7:38 PM
Parents
rG12b2f3daaa59: Continued ipfilter #ifdef cleanup. The r343701 log entry contains a
Branches
Unknown
Tags
Unknown

Event Timeline