Page MenuHomeFreeBSD

Don't start grouptaskqueue threads for unused grouptaskqueues
AcceptedPublic

Authored by kmacy on Aug 28 2017, 2:19 AM.
Tags
None
Referenced Files
F85100062: D12142.diff
Sat, Jun 1, 3:58 PM
Unknown Object (File)
Mon, May 27, 12:55 PM
Unknown Object (File)
Thu, May 9, 11:43 PM
Unknown Object (File)
Thu, May 9, 7:08 PM
Unknown Object (File)
Thu, May 9, 8:12 AM
Unknown Object (File)
Apr 28 2024, 1:23 PM
Unknown Object (File)
Apr 26 2024, 5:04 PM
Unknown Object (File)
Apr 25 2024, 12:14 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.