diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-28 10:36:06 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-02-06 11:06:30 +0000 |
commit | dafa1ac8646954fa02db2a3e572adc6a957edd39 (patch) | |
tree | 28cddabf52a39914b8d707775749f1fa0ff672cf /bitbake/doc | |
parent | 2ae62f0d2b4f130a12b4b3bed38a9cd82a5bb6cf (diff) | |
download | poky-dafa1ac8646954fa02db2a3e572adc6a957edd39.tar.gz |
bitbake: runqueue: Rewrite and optimize recrdepends handling
This is a performance sensitive piece of code and the shear number
of recursive loops is causing a significant and unscalable performance
pain point.
This change moves to a two step approach, firstly generating a list of recursive
dependencies for any task, then applying this to the recursive tasks, iterating
over things until no further dependencies are added.
It was noticed an optimisation is possible and the list of recursive tasks need not
contain the taskname, only the base task id. This allows a significant performance
improvement and limits the size of the resursive task lists, improving speed.
(Bitbake rev: eba738ac5672556eaab4f3374c8025c322761c4a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/doc')
0 files changed, 0 insertions, 0 deletions