HomeFreeBSD

LinuxKPI: Force the usleep_range() function to sleep instead of spinning on the…

Description

LinuxKPI: Force the usleep_range() function to sleep instead of spinning on the timer.

This allows other threads to execute, typically during hardware waiting loops.
This also maches how the function works in Linux.

Reviewed by: kib
MFC after: 1 week
Sponsored by: NVIDIA Networking

Details

Provenance
hselaskyAuthored on Jul 10 2021, 7:56 PM
Parents
rGf52783fcf5cc: Fix USB debug print after 8fc2a3c41791b205a107dc2bec16ac7514a57958 .
Branches
Unknown
Tags
Unknown