HomeFreeBSD

The g_up and g_down threads use a local 'mymutex' mutex to allow WITNESS
rS131160Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

The g_up and g_down threads use a local 'mymutex' mutex to allow WITNESS
to warn about attempts to sleep in the I/O path. This change pushes the
definition and use of 'mymutex' behind #ifdef WITNESS to avoid the cost
in non-debugging cases. This results in a clear .22% performance win for
512 byte and 1k I/O tests on my SMP test box. Not much, but every bit
counts.

Details

Provenance
rwatsonAuthored on
Parents
rS131159: Document the 64bit time_t fix.
Branches
Unknown
Tags
Unknown

Event Timeline