cpu-sched: Add background notifiers for fixed oom score app 08/303608/1
authorUnsung Lee <unsung.lee@samsung.com>
Sun, 26 Nov 2023 11:07:59 +0000 (20:07 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Tue, 2 Jan 2024 08:46:49 +0000 (17:46 +0900)
commit0de23b8c4de5768cbafdfeb066281deeb1987d48
treeb2bd3b42080e8a6b2d32dac984ff29cb60ac2b66
parentff5d2b565f8988ffa5b2d3a811712165e93ad9d7
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