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.
Differential D12142
Don't start grouptaskqueue threads for unused grouptaskqueues kmacy on Aug 28 2017, 2:19 AM. Authored by Tags None Referenced Files
Details
Diff Detail
Event TimelineComment Actions Only launch as many threads as we actually need Comment Actions May as well abandon it until/unless there's interest. I don't think there's much gain for the added complexity. Comment Actions Did autocompletion tricked you, or am I really the target of your message? I'm not sure if @kmacy will be happy with me messing with his patch. Comment Actions Sorry I was looking at another review and got the wires crossed, for some reason I thought this was an Intel patch but I was looking at something else. Comment Actions No problem. I was thinking about adding some way of dynamic control of number of threads in taskqgroup while working on https://reviews.freebsd.org/D46062 but it seemed to make things overcomplicated for tasks not critical for traffic performance. |