HomeFreeBSD

Adaptive spinning for locking primitives, in read-mode, have some tuning
rS226255Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

Adaptive spinning for locking primitives, in read-mode, have some tuning
SYSCTLs which are inappropriate for a daily use of the machine (mostly
useful only by a developer which wants to run benchmarks on it).
Remove them before the release as long as we do not want to ship with
them in.

Now that the SYSCTLs are gone, instead than use static storage for some
constants, use real numeric constants in order to avoid eventual compiler
dumbiness and the risk to share a storage (and then a cache-line) among
CPUs when doing adaptive spinning together.

Please note that this patch is not a MFC, but an 'edge case' as commit
directly to STABLE_9.

Approved by: re (kib)

Details

Provenance
attilioAuthored on
Parents
rS226254: MFC r226060:
Branches
Unknown
Tags
Unknown

Event Timeline