summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoungjae Cho <y0.cho@samsung.com>2024-08-22 17:41:59 +0900
committeryoungjae cho <y0.cho@samsung.com>2024-08-22 09:04:38 +0000
commit9ddc931d5e8cd0b5d799a78c50ae38fef6c63d53 (patch)
tree6ecdb01b6f334301cb5ac64f8090ad734fa4d124
parent82b2b89e57a057351bee2ba4bc863a62c61622ed (diff)
downloadresourced-9ddc931d5e8cd0b5d799a78c50ae38fef6c63d53.tar.gz
resourced-9ddc931d5e8cd0b5d799a78c50ae38fef6c63d53.tar.bz2
resourced-9ddc931d5e8cd0b5d799a78c50ae38fef6c63d53.zip
Change-Id: Ifed1210f073dafa3863ad0b4075c9403a57140bc Signed-off-by: Youngjae Cho <y0.cho@samsung.com> (cherry picked from commit 69a94518bc38dd1d9ac7e77b7f7b061afd3a2268)
-rw-r--r--src/resource-limiter/memory/lowmem-controller.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resource-limiter/memory/lowmem-controller.c b/src/resource-limiter/memory/lowmem-controller.c
index 2f89429b..6065e5f6 100644
--- a/src/resource-limiter/memory/lowmem-controller.c
+++ b/src/resource-limiter/memory/lowmem-controller.c
@@ -509,6 +509,8 @@ static int critical_mem_control(void *data)
resourced_notify(RESOURCED_NOTIFIER_SWAP_COMPACT,
(void *)SWAP_COMPACT_MEM_LEVEL_CRITICAL);
lowmem_memory_level_send_system_event(MEM_LEVEL_CRITICAL);
+ vconf_set_int(VCONFKEY_SYSMAN_LOW_MEMORY,
+ VCONFKEY_SYSMAN_LOW_MEMORY_SOFT_WARNING);
return RESOURCED_ERROR_NONE;
}