Page MenuHomeFreeBSD

Allow NIC drivers to sleep rather than busy wait
ClosedPublic

Authored by kmacy on Apr 6 2018, 1:04 AM.
Tags
None
Referenced Files
F103351818: D14983.id.diff
Sat, Nov 23, 10:24 PM
Unknown Object (File)
Fri, Nov 22, 10:44 PM
Unknown Object (File)
Tue, Nov 19, 11:09 PM
Unknown Object (File)
Tue, Nov 19, 6:04 PM
Unknown Object (File)
Sat, Nov 9, 4:37 AM
Unknown Object (File)
Thu, Nov 7, 8:08 AM
Unknown Object (File)
Thu, Oct 31, 7:11 PM
Unknown Object (File)
Thu, Oct 31, 5:32 PM

Details

Summary

Since the move to SMP NIC driver locking has had to go through serious contortions using mtx around long running hardware operations. This moves iflib past that.

This change depends on D14967, D14969, and D14982

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/net/iflib.c
2156 ↗(On Diff #41163)

errant whitespace?

2161 ↗(On Diff #41163)

IFC_DO_WATCHDOG is never cleared...

3738 ↗(On Diff #41163)

Shouldn't this test be protected by the lock as well?

4434 ↗(On Diff #41163)

errant whitespace?

shurd requested changes to this revision.Apr 9 2018, 5:07 PM

This patch doesn't apply after the dependencies are applied.

This revision now requires changes to proceed.Apr 9 2018, 5:07 PM
This revision was not accepted when it landed; it landed in state Needs Review.May 3 2018, 5:02 PM
This revision was automatically updated to reflect the committed changes.