HomeFreeBSD

Use atomic_add_int rather than a simple ++ to ensure no cache races if
rS185740Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Use atomic_add_int rather than a simple ++ to ensure no cache races if
the power interrupt and init code waiting for the interrupt are
running on different CPUs. I haven't seen this make any real
difference, but I've also had some reports of odd behavior I can't
otherwise explain. It is an infrequent operation, and certainly
wouldn't hurt.

Details

Provenance
impAuthored on
Parents
rS185739: Improve usefulness of the panic by printing the pointer to the problematic
Branches
Unknown
Tags
Unknown

Event Timeline