Page MenuHomeFreeBSD

Don't start grouptaskqueue threads for unused grouptaskqueues

Authored by kmacy on Aug 28 2017, 2:19 AM.



Defer starting grouptaskqueue threads until the first time a grouptask is associated with the group.

This keeps iflib from cluttering ddb ps when there are no iflib drivers in the system.

Diff Detail

rS FreeBSD src repository - subversion
Lint Skipped
Unit Tests Skipped
Build Status
Buildable 11273

Event Timeline

Only launch as many threads as we actually need
@sbruno dedicated branch vs iflib/ithread_dispatch called iflib/pollution reduction

This revision is now accepted and ready to land.Sep 5 2017, 12:29 AM

@shurd does this still work or should it be abandoned?

May as well abandon it until/unless there's interest. I don't think there's much gain for the added complexity.