--- - branch: MAIN date: Sun Feb 13 19:20:11 UTC 2022 files: - new: '1.18' old: '1.17' path: src/sys/net/npf/npf_conf.c pathrev: src/sys/net/npf/npf_conf.c@1.18 type: modified - new: '1.8' old: '1.7' path: src/sys/net/npf/npf_ifaddr.c pathrev: src/sys/net/npf/npf_ifaddr.c@1.8 type: modified id: 20220213T192011Z.0fe37658fce7a478f72f774a1463a31f6a032eb8 log: | npf(4): Use atomic_store_release and atomic_load_consume for config. ...or atomic_load_relaxed, when the config is locked. (Not necessary to use atomic_* at all in NetBSD, but in C11 it will be cheaper to say atomic_load_relaxed explicitly so an _Atomic-qualified object doesn't cause the load to be surrounded by unnecessary membars.) No need for store-before-load ordering here, so no need to membar_sync. module: src subject: 'CVS commit: src/sys/net/npf' unixtime: '1644780011' user: riastradh