projects
/
platform
/
core
/
system
/
resourced.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82b2b89
)
lowmem-controller: Add missing vconf setting for soft warning
07/316507/1
accepted/tizen_unified
accepted/tizen_unified_dev
accepted/tizen_unified_x
tizen
accepted/tizen/unified/20240826.233017
accepted/tizen/unified/dev/20240828.023757
accepted/tizen/unified/x/20240827.053117
author
Youngjae Cho
<y0.cho@samsung.com>
Thu, 22 Aug 2024 08:41:59 +0000
(17:41 +0900)
committer
youngjae cho
<y0.cho@samsung.com>
Thu, 22 Aug 2024 09:04:38 +0000
(09:04 +0000)
Change-Id: Ifed1210f073dafa3863ad0b4075c9403a57140bc
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
(cherry picked from commit
69a94518bc38dd1d9ac7e77b7f7b061afd3a2268
)
src/resource-limiter/memory/lowmem-controller.c
patch
|
blob
|
history
diff --git
a/src/resource-limiter/memory/lowmem-controller.c
b/src/resource-limiter/memory/lowmem-controller.c
index
2f89429
..
6065e5f
100644
(file)
--- 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;
}