cpu-sched: Add background notifiers for fixed oom score app 78/301878/3
authorUnsung Lee <unsung.lee@samsung.com>
Sun, 26 Nov 2023 11:07:59 +0000 (20:07 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Thu, 30 Nov 2023 08:46:11 +0000 (17:46 +0900)
commit22e11ef47bdeee9042db6b58e97bab2e98fc6883
treed827f8480633728427749205470307be6c0fdecf
parent9e107e3013e4f299670162bf031301e363ecd1a3
cpu-sched: Add background notifiers for fixed oom score app

Add background notifiers for fixed oom score app. This is because,
ForegroundApps fixs cpu affinity for foreground app, but fixed oom score app
was excluded from cpu affinity update.

newly added notifiers are like below:
  - RESOURCED_NOTIFIER_APP_BACKGRD_WITH_FIXED_OOM_SCORE for background status

Change-Id: I737c568c3bd18bc8fe436df16e8bcc370c6abf71
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
src/common/notifier.h
src/process/proc-process.c
src/resource-optimizer/cpu/cpu-sched.c