diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2018-05-14 10:21:39 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-06-15 17:57:30 +0100 |
commit | a0cb1021c04c37b972bbf3d3626c7eef8a9876d1 (patch) | |
tree | d3e2a4177c6402a9db46f81e879d2abde3362721 /meta-poky/conf/site.conf.sample | |
parent | 27101e647f6323a783a17391b57fe4145fa5dec5 (diff) | |
download | poky-a0cb1021c04c37b972bbf3d3626c7eef8a9876d1.tar.gz |
bitbake: runqueue.py: Initial implementation of per task process limits
On high core machines, in do_fetch, it is possible to DDoS your own machine.
A method to limit any arbitrary task type to a certain number of simultaneous
threads is needed. (Similar to how BB_NUMBER_THREADS works in the general
case.) The format of this new limitation is:
do_fetch[number_threads] = "2"
This should be set globally. If it is set in individual recipes it could
result in unpredictable behavior.
Note: a value for number_threads > BB_NUMBER_THREADS will have no effect.
(Bitbake rev: 055865047c63b9c3b213b47a1884924ce0adeda0)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-poky/conf/site.conf.sample')
0 files changed, 0 insertions, 0 deletions