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)
Jan 2 2024, 8:25 PM
Unknown Object (File)
Dec 23 2023, 12:42 AM
Unknown Object (File)
Dec 10 2023, 3:02 PM
Unknown Object (File)
Nov 17 2023, 5:16 AM
Unknown Object (File)
Nov 12 2023, 5:41 AM
Unknown Object (File)
Oct 21 2023, 2:55 AM
Unknown Object (File)
Oct 11 2023, 7:34 PM
Unknown Object (File)
Oct 11 2023, 4:47 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.