bitbake: runqueue: Fix task weighting algorithm
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 13 Apr 2014 10:45:03 +0000 (11:45 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Apr 2014 10:43:29 +0000 (11:43 +0100)
commit4bccb9754d03cc7b5f03dccfcc02a604d2269581
treeafe298f453d017c08169550f66324d717ec6fe99
parentadbe304a8bab234fcf1158ad522b6924f9a9c885
bitbake: runqueue: Fix task weighting algorithm

When looking at a list of tasks, do_patch and do_unpack were being
given equal priority when one clearly depends on another. The
reason for this was the default task weights of 0 being to tasks.
This is therefore changed to 1 to allow correct weighting of dependencies
which means the scheduler has better information available to it about
tasks.

Weight endpoints differently (10) for clearer debugging of priorities.

(Bitbake rev: 12dc1d17fac3e8ec420fcafb06186d32fd847d89)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/runqueue.py