process: Support fixed oom for app via Private config 10/288410/3 accepted/tizen/unified/20230220.174507
authorUnsung Lee <unsung.lee@samsung.com>
Thu, 16 Feb 2023 06:39:01 +0000 (15:39 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Fri, 17 Feb 2023 01:54:59 +0000 (10:54 +0900)
commit658c9cd4e6e7852b6a48c73e05c83688a50b42a2
treec43ef5d7d617f425432c6220464b42d0f67919b1
parentfc3ade45780746ba74d968c410f60961f135903e
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: I367f6b6e0a7315c1e84b1b3871f6bb7bcc4a005a
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