Inherit CPU scheduling policy to Daemon Process 76/277076/3
authorHwankyu Jhun <h.jhun@samsung.com>
Thu, 30 Jun 2022 06:58:41 +0000 (15:58 +0900)
committerHwanKyu Jhun <h.jhun@samsung.com>
Thu, 30 Jun 2022 23:31:37 +0000 (23:31 +0000)
commit961767c193bf8ea3d75f71ef68995a0211a3e113
treeb84758816e33a7cfbfd02406ad8e8bf0016d0ff8
parent7b52a33eb78dad5de5c2f68f5983069ae51409cb
Inherit CPU scheduling policy to Daemon Process

To solve the priority inversion issue, AUL calls resource_set_cpu_inheritance()
to inherit the CPU scheduling policy to AMD when IPC with AMD.
If the stcheduling priority of AMD is higher than the caller, the inheritance
request will be ignored.

Change-Id: I5a12f208c31f113f7c12a975526f3a03f155787a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
CMakeLists.txt
packaging/aul.spec
src/aul_sock.cc