Page MenuHomeFreeBSD

ig4_iic: Allow sleeping if called from iichid interrupt handler.
ClosedPublic

Authored by wulf on Feb 12 2025, 6:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 1, 5:42 PM
Unknown Object (File)
Sun, Jun 29, 6:36 PM
Unknown Object (File)
Sat, Jun 28, 9:18 PM
Unknown Object (File)
Sat, Jun 28, 5:20 AM
Unknown Object (File)
Sun, Jun 22, 10:09 AM
Unknown Object (File)
Fri, Jun 20, 3:24 AM
Unknown Object (File)
Wed, Jun 18, 9:10 AM
Unknown Object (File)
Sun, Jun 8, 1:36 AM
Subscribers
None

Details

Summary

This replaces 50 ms busy loop with mtx_sleep for the same duration thus
saving CPU time when iichid is driven with interrupts.

Sponsored by: Future Crew, LLC
MFC after: 2 month

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

wulf requested review of this revision.Feb 12 2025, 6:56 AM
wulf created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.Mar 7 2025, 6:28 AM
This revision was automatically updated to reflect the committed changes.