conf: Parse 'ForegroundAppList' property of process.conf 58/294658/18
authorUnsung Lee <unsung.lee@samsung.com>
Thu, 22 Jun 2023 09:06:17 +0000 (18:06 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Mon, 31 Jul 2023 02:35:06 +0000 (11:35 +0900)
commit220d3a2cb7944408ac2ad711e83025bb729ec264
tree82ce8f3aa2b3b25129c6ffb249dacfaa92d34fbe
parentc5bc1aa709fdd858276de3b5e44610cba3445fcf
conf: Parse 'ForegroundAppList' property of process.conf

Parse configuration for foreground status app(s)
which want to have low oom_socre_adj

This configuration supports recording low oom_score_adj
for foreground app. oom_score_adj is an important indicator
to choose victim when available memory is too low.
Therefore, with this configuration, specific foreground app(s) have low
probability to be choosen as victim of LMK.

A new configuration called 'App' in section 'ForegroundAppList'
is added in process.conf

Change-Id: Ia25c4a966ad7351e0bf67b55d8fb925417f1cc8c
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
conf/README
src/common/conf/config-parser.c
src/common/conf/config-parser.h
src/common/proc-common.h