diff options
author | 2018-05-14 10:21:39 -0400 | |
---|---|---|
committer | 2018-06-15 09:12:33 +0100 | |
commit | 055865047c63b9c3b213b47a1884924ce0adeda0 (patch) | |
tree | dd074f787ffd17a4dddeb2651d97115286067846 /LICENSE | |
parent | 26d5ea9bb892bd6a2e1fd29a9023e0b0644edc16 (diff) | |
download | bitbake-contrib-055865047c63b9c3b213b47a1884924ce0adeda0.tar.gz |
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.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions