HomeFreeBSD

uma dbg: catch more corruption with atomics

Description

uma dbg: catch more corruption with atomics

Use atomic testandset and testandclear to catch concurrent double free,
and to reduce the number of atomic operations.

Submitted by: jeff
Reviewed by: cem, kib, markj (all previous version)
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D22703

Details

Provenance
rlibbyAuthored on Dec 31 2020, 9:02 PM
Reviewer
cem
Differential Revision
D22703: uma dbg: catch more corruption with atomics
Parents
rGae4a8e52072a: bitset: implement BIT_TEST_CLR_ATOMIC & BIT_TEST_SET_ATOMIC
Branches
Unknown
Tags
Unknown