HomeFreeBSD

Reduce sdt-related branch-fest in mi_switch.

Description

Reduce sdt-related branch-fest in mi_switch.

The code was evaluating flags before resorting to checking if dtrace is
enabled. This was inducing forward jumps in the common case.

Details

Provenance
mjgAuthored on
Parents
rS334025: top(1): increase size of 'status' buffer
Branches
Unknown
Tags
Unknown