cpu-sched: Exclude apps that are not foreground but have PROC_STATE_FOREGROUND state 04/302104/2 accepted/tizen/7.0/unified/20231201.133109 accepted/tizen/7.0/unified/20231201.180605
authorUnsung Lee <unsung.lee@samsung.com>
Thu, 30 Nov 2023 08:19:12 +0000 (17:19 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Thu, 30 Nov 2023 08:47:03 +0000 (17:47 +0900)
commit27776df399d9aafff8769cad015e87d65722c2f9
tree1fa8b0d701ab2d07aceb80a679064661c2f91266
parent22e11ef47bdeee9042db6b58e97bab2e98fc6883
cpu-sched: Exclude apps that are not foreground but have PROC_STATE_FOREGROUND state

Exclude apps that are not foreground but have PROC_STATE_FOREGROUND state from
foreground cpu affinity group. cpu-sched module initially searches already
launched foreground app and move them to foreground cpu affinity grouop.

Change-Id: I3692d6a4e70c08babc5547326133099ac20ebf91
Signed-off-by: Unsung Lee <unsung.lee@samsung.com>
src/resource-optimizer/cpu/cpu-sched.c