HomeFreeBSD

Microoptimize sched_pickcpu() after r352658.

Description

Microoptimize sched_pickcpu() after r352658.

I've noticed that I missed intr check at one more SCHED_AFFINITY(),
so instead of adding one more branching I prefer to remove few.

Profiler shows the function CPU time reduction from 0.24% to 0.16%.

MFC after: 1 month
Sponsored by: iXsystems, Inc.

Details

Provenance
mavAuthored on
Parents
rS352712: posix_spawn(3): handle potential signal issues with vfork
Branches
Unknown
Tags
Unknown