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
F156436062: D48956.id151996.diff
Wed, May 13, 4:53 PM
Unknown Object (File)
Mon, May 11, 7:06 PM
Unknown Object (File)
Mon, May 11, 4:24 PM
Unknown Object (File)
Mon, May 11, 11:07 AM
Unknown Object (File)
Mon, May 11, 5:46 AM
Unknown Object (File)
Mon, May 4, 11:58 PM
Unknown Object (File)
Wed, Apr 29, 4:09 AM
Unknown Object (File)
Wed, Apr 29, 4:05 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.