cpu-sched: Exclude apps that are not foreground but have PROC_STATE_FOREGROUND state 09/303609/1 accepted/tizen_unified_riscv accepted/tizen/unified/20240104.012423 accepted/tizen/unified/20240105.013014 accepted/tizen/unified/riscv/20240103.054535
authorUnsung Lee <unsung.lee@samsung.com>
Thu, 30 Nov 2023 08:19:12 +0000 (17:19 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Tue, 2 Jan 2024 08:46:56 +0000 (17:46 +0900)
commit0f1f78456ba6162ce0165f5d3d4a90416fc945b5
tree8c4c41bec26e407acaf0406c8834996cb13fbaf4
parent0de23b8c4de5768cbafdfeb066281deeb1987d48
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