Page MenuHomeFreeBSD

uma dbg: catch more corruption with atomics

Authored by rlibby on Dec 6 2019, 9:49 AM.



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

Submitted by: jeff

Diff Detail

R10 FreeBSD src repository
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

This revision is now accepted and ready to land.Dec 6 2019, 1:17 PM
This revision now requires review to proceed.Dec 31 2020, 12:49 AM
This revision was not accepted when it landed; it landed in state Needs Review.Dec 31 2020, 9:04 PM
This revision was automatically updated to reflect the committed changes.