Page MenuHomeFreeBSD

Don't start grouptaskqueue threads for unused grouptaskqueues
Needs RevisionPublic

Authored by kmacy on Aug 28 2017, 2:19 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Sep 25, 9:45 PM
Unknown Object (File)
Sat, Sep 21, 1:11 PM
Unknown Object (File)
Thu, Sep 12, 8:26 AM
Unknown Object (File)
Thu, Sep 5, 6:57 AM
Unknown Object (File)
Tue, Sep 3, 7:14 PM
Unknown Object (File)
Aug 25 2024, 4:57 PM
Unknown Object (File)
Aug 20 2024, 12:34 AM
Unknown Object (File)
Aug 18 2024, 3:21 AM

Details

Summary

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

Repository
rS FreeBSD src repository - subversion
Lint
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.

This revision now requires changes to proceed.Wed, Sep 25, 9:52 PM