Page MenuHomeFreeBSD

twsi: use tsleep instead of pause for better responsiveness
ClosedPublic

Authored by avg on Sep 3 2020, 8:29 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 4 2024, 11:54 PM
Unknown Object (File)
Oct 4 2024, 7:15 PM
Unknown Object (File)
Oct 4 2024, 8:45 AM
Unknown Object (File)
Oct 4 2024, 4:28 AM
Unknown Object (File)
Oct 3 2024, 9:51 PM
Unknown Object (File)
Oct 3 2024, 4:39 PM
Unknown Object (File)
Oct 3 2024, 12:58 PM
Unknown Object (File)
Sep 28 2024, 1:00 AM
Subscribers

Details

Summary

wakeup() does not have any effect on pause(), so if a transfer was
not finished by the time of the first check, then the thread
would sleep full 30 ms.

To do: protect the transfer and interrupt code with the mutex,
switch from tsleep from msleep

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 33354
Build 30663: arc lint + arc unit