HomeFreeBSD

iicbb: Fix pause_sbt() arguments order

Description

iicbb: Fix pause_sbt() arguments order

It should make pause interval less strict.

While there, add cpu_spinwait() into a tight spin wait loop to burn
less power and let other SMT thread work more.

MFC after: 1 month

(cherry picked from commit a74df3f96e3ea4cc632088be870d9b0b0198859c)

Details

Provenance
mavAuthored on Dec 23 2023, 11:52 PM
Parents
rG9f558e9f7dee: iichid(4): Improve idle sampling hysteresis
Branches
Unknown
Tags
Unknown