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)
Wed, Mar 26, 12:04 PM
Unknown Object (File)
Fri, Mar 21, 8:03 AM
Unknown Object (File)
Tue, Mar 11, 8:15 PM
Unknown Object (File)
Fri, Mar 7, 6:28 AM
Unknown Object (File)
Feb 21 2025, 7:26 PM
Unknown Object (File)
Feb 20 2025, 9:07 PM
Unknown Object (File)
Feb 17 2025, 5:45 AM
Unknown Object (File)
Feb 16 2025, 10:47 PM
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.Fri, Mar 7, 6:28 AM
This revision was automatically updated to reflect the committed changes.