HomeFreeBSD

Pass a thread argument into cpu_critical_{enter,exit}() rather than
rS132700Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Pass a thread argument into cpu_critical_{enter,exit}() rather than
dereference curthread. It is called only from critical_{enter,exit}(),
which already dereferences curthread. This doesn't seem to affect SMP
performance in my benchmarks, but improves MySQL transaction throughput
by about 1% on UP on my Xeon.

Head nodding: jhb, bmilekic

Details

Provenance
rwatsonAuthored on
Parents
rS132699: Don't consider TCP connections beyond LISTEN state
Branches
Unknown
Tags
Unknown

Event Timeline