diff options
author | Aryaman Gupta <aryaman.gupta@windriver.com> | 2022-08-04 14:52:32 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-08-12 11:49:29 +0100 |
commit | f5c616d5aff31814c0fe2a4b16e3e89bebf1c10a (patch) | |
tree | fef5ac866d634f706bb4dd039d8a99123c31bd14 /scripts/lib/wic/plugins/source/empty.py | |
parent | 0f6817f2a4552c82f2eb58602b28959a1792c0d4 (diff) | |
download | poky-f5c616d5aff31814c0fe2a4b16e3e89bebf1c10a.tar.gz |
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)
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/wic/plugins/source/empty.py')
0 files changed, 0 insertions, 0 deletions