44c3954 runqueue: add memory pressure regulation

1 file Authored by Aryaman Gupta 2 years ago, Committed by Richard Purdie 2 years ago,
    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.
    
    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>
    
        
file modified
+22 -5