commit | 26ca34e66e3fa47cf7dc1f2b2d41e74df6ffdb79 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Sat Mar 21 12:51:40 2009 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Sat Mar 21 12:57:06 2009 +0100 |
tree | 7f40ee6a869c5c23b542904855b55824dc2eefa9 | |
parent | 218859ad6cacf0fbd812293eefc51b7877f115b3 [diff] |
[BUG] scheduler: fix improper handling of duplicates __task_queue() The top of a duplicate tree is not where bit == -1 but at the most negative bit. This was causing tasks to be queued in reverse order within duplicates. While this is not dramatic, it's incorrect and might lead to longer than expected duplicate depths under some circumstances.