summaryrefslogtreecommitdiffstats
path: root/scripts/lib/recipetool/create_npm.py
diff options
context:
space:
mode:
authorAryaman Gupta <aryaman.gupta@windriver.com>2022-08-16 15:13:44 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-08-23 15:57:11 +0100
commitafd213cc8e71976f2e52177927563a6868a2bed7 (patch)
tree13cfd1937e3e85a0a3ee148ddee82d056133271a /scripts/lib/recipetool/create_npm.py
parenteaf8d5efa0c2472dbaf0df962c0e516191bde1a5 (diff)
downloadpoky-afd213cc8e71976f2e52177927563a6868a2bed7.tar.gz
bitbake: bitbake: runqueue: add memory pressure regulation
Prevent new tasks from being scheduled if the memory pressure is above a certain threshold, specified through the "BB_MAX_PRESSURE_MEMORY" variable in the conf/local.conf file. This is an extension to the following commit and hence regulates pressure in the same way: 48a6d84de1 bitbake: runqueue: add cpu/io pressure regulation Memory pressure is experienced when time is spent swapping, refaulting pages from the page cache or performing direct reclaim. This is why memory pressure is rarely seen but might be useful as a last resort to prevent OOM errors. (Bitbake rev: 44c395434c7be8dab968630a610c8807f512920c) (Bitbake rev: 82b683f8c7a559f4fcab68f6a0fa7dc3dc20fa05) Signed-off-by: Aryaman Gupta <aryaman.gupta@windriver.com> Signed-off-by: Randy Macleod <Randy.Macleod@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/recipetool/create_npm.py')
0 files changed, 0 insertions, 0 deletions