HomeFreeBSD

Blow away the panic mutex in favor of using a single atomic_cmpset() on a
rS75570Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Blow away the panic mutex in favor of using a single atomic_cmpset() on a
panic_cpu shared variable. I used a simple atomic operation here instead
of a spin lock as it seemed to be excessive overhead. Also, this can avoid
recursive panics if, for example, witness is broken.

Details

Provenance
jhbAuthored on
Parents
rS75569: Check to see if enroll() returns NULL in the witness initialization. This
Branches
Unknown
Tags
Unknown

Event Timeline