commit | c9afbb10f5430ffce9aacd020ef46522d7e675cc | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Thu Feb 25 07:19:45 2021 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Thu Feb 25 09:44:16 2021 +0100 |
tree | d19b3ac31703f3f548251624ac5854b9d969c350 | |
parent | 2b363ac092102509a297dfe9e5606a63a76d2cc8 [diff] |
MINOR: task: don't decrement then increment the local run queue Now we don't need to decrement rq_total when we pick a tack in the tree to immediately increment it again after installing it into the local list. Instead, we simply add to the local queue count the number of globally picked tasks. Avoiding this shows ~0.5% performance gains at 1Mreq/s (2M task switches/s).