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
Unknown Object (File)
Sun, Apr 28, 1:23 PM
Unknown Object (File)
Fri, Apr 26, 5:04 PM
Unknown Object (File)
Thu, Apr 25, 12:14 AM
Unknown Object (File)
Thu, Apr 18, 5:26 PM
Unknown Object (File)
Mar 29 2024, 11:06 AM
Unknown Object (File)
Mar 29 2024, 9:03 AM
Unknown Object (File)
Jan 2 2024, 8:25 PM
Unknown Object (File)
Dec 23 2023, 12:42 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 11263

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.