lowmem-monitor: Modify PSI memory monitoring levels 98/296698/1
authorSangYoun Kwak <sy.kwak@samsung.com>
Thu, 3 Aug 2023 07:03:38 +0000 (16:03 +0900)
committerSangYoun Kwak <sy.kwak@samsung.com>
Thu, 3 Aug 2023 07:10:27 +0000 (16:10 +0900)
commit6e68e2f3bbd62d1c463232d18116705a57bc2d61
tree1b00602c78f64086a166a9acda8ce2af9456952e
parente03d63dc1eddfaf3b651d8a549ee1110b618a198
lowmem-monitor: Modify PSI memory monitoring levels

The levels of PSI memory monitor changed from 5 levels to 3 levels.
 1. PSI_MEM_LEVEL_LOW (low psi, memory stall is small)
 2. PSI_MEM_LEVEL_MEDIUM
 3. PSI_MEM_LEVEL_HIGH (high psi, memory stall is greater than the aboves)
In accordance with the modification above, stall time also changed.

Code modifications are made to accompany the above modification.

Change-Id: I2bc87ae48a6dd7fc2d019e4a8ebece899c81c747
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
src/resource-limiter/memory/lowmem-monitor-psi.c