process: Support fixed oom for app via Private config 66/288466/1 accepted/tizen/7.0/unified/20230221.020447
authorUnsung Lee <unsung.lee@samsung.com>
Thu, 16 Feb 2023 06:39:01 +0000 (15:39 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Fri, 17 Feb 2023 02:24:19 +0000 (11:24 +0900)
commitfe1f9f99726b76c5d89a7cd69a67f2b17d02fdb6
tree8b3193713743ccc1aad8f2258f9b3659514cd764
parentf1c027a6257c3c44e94bf61dad60b363a49c33fb
process: Support fixed oom for app via Private config

This patch includes
  - Parsing config from Private Section (config-parser.c/h)
  - Elimination of old style fixed oom config (proc.conf, README)
  - Replacement of oom_fixed_app_list using fixed_app_list
    (a.k.a. an hashtable which manages all apps in the Private Section)

Difference between old style fixed oom config and the current one
  - old style: Add app name directly in the common configuration file
  - the current style: Add app name in the Private Section (xxx.conf.d/yyy.conf)
    That is, any developer can add new configurations with making
private conf files.

Change-Id: I21abd58002ce48ce66ff203bececa7d573443a39
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
conf/README
conf/proc.conf [deleted file]
packaging/resourced.spec
src/CMakeLists.txt
src/common/conf/config-parser.c
src/common/conf/config-parser.h
src/common/proc-common.h
src/process/proc-oom-priority.c