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)
Mon, Aug 10, 1:05 PM
Unknown Object (File)
Sat, Aug 8, 5:32 AM
Unknown Object (File)
Fri, Aug 7, 7:35 AM
Unknown Object (File)
Fri, Aug 7, 7:35 AM
Unknown Object (File)
Fri, Aug 7, 7:35 AM
Unknown Object (File)
Fri, Aug 7, 7:35 AM
Unknown Object (File)
Thu, Aug 6, 5:22 AM
Unknown Object (File)
Wed, Aug 5, 9:16 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.